Merge pull request #57 from jerrybai2009/master

fix the multiple view showing in same time issue
This commit is contained in:
jerrybai2009 2016-03-02 19:04:56 -08:00
commit 9be8cc187b

View File

@ -13,6 +13,8 @@ App.FlowsRoute = Ember.Route.extend({
flowsController.set('flowView', false);
flowsController.set('breadcrumbs', breadcrumbs);
flowsController.set('urn', 'FLOWS_ROOT');
flowsController.set('projectView', true);
flowsController.set('flowView', false);
flowsController.set('jobView', false);
}
});
@ -57,6 +59,8 @@ App.PagedapplicationRoute = Ember.Route.extend({
flowsController.set('breadcrumbs', breadcrumbs);
flowsController.set('urn', application);
flowsController.set('jobView', false);
flowsController.set('projectView', true);
flowsController.set('flowView', false);
}
});
var watcherEndpoint = "/api/v1/urn/watch?urn=" + application;