Fix showing running jobs
When I changed tabs-list-view to be a component I missed the fact that config is not registered for components, which resulted in not showing the running jobs tab at all. This commit fixes the situation.
This commit is contained in:
parent
8eaee33d6d
commit
0a872e25a7
|
@ -7,6 +7,7 @@ initialize = function(container, application) {
|
|||
instantiate: false
|
||||
});
|
||||
application.inject('controller', 'config', 'config:main');
|
||||
application.inject('component', 'config', 'config:main');
|
||||
return application.inject('route', 'config', 'config:main');
|
||||
};
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
{{repos-list-tabs tab=tab showMyRepositories=(action "showMyRepositories") showRunningJobs=(action "showRunningJobs")}}
|
||||
{{repos-list-tabs tab=tab startedJobsCount=startedJobsCount allJobsCount=allJobsCount showMyRepositories=(action "showMyRepositories") showRunningJobs=(action "showRunningJobs")}}
|
||||
|
||||
{{#if showRunningJobs}}
|
||||
<div class="tabbody sidebar-list">
|
||||
|
|
Loading…
Reference in New Issue
Block a user