import Controller from './Controller';

import NewDeployFormView from 'views/newDeployForm';

import { FetchAction as RequestFetchAction } from '../actions/api/request';

class NewDeployForm extends Controller {

    showView () {
        this.setView(new NewDeployFormView({store: this.store}));
        app.showView(this.view);
    }

    initialize ({store, requestId}) {
        app.showPageLoader()
        this.title('New Deploy')
        this.store = store;

        this.store.dispatch(RequestFetchAction.trigger(requestId)).then(() => this.showView());
    }
}

export default NewDeployForm;

@@ -206,18 +206,16 @@
 ller %7B%0A%0A
-  
   showVi
@@ -218,28 +218,24 @@
 owView () %7B%0A
-    
     this.set
@@ -284,28 +284,24 @@
 ore%7D));%0A    
-   
- 
 app.showView
@@ -317,19 +317,15 @@
 w);%0A
-  
   %7D%0A%0A  
- 
- 
 init
@@ -358,20 +358,16 @@
 ) %7B%0A    
-   
- 
 app.show
@@ -378,21 +378,18 @@
 Loader()
+;
 %0A
-    
     this
@@ -408,25 +408,22 @@
 Deploy')
+;
 %0A
- 
     
-   
 this.sto
@@ -435,20 +435,16 @@
 store;%0A%0A
-    
     this
@@ -527,18 +527,16 @@
 iew());%0A
-  
   %7D%0A%7D%0A%0Ae

Fix linting errors