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:
Piotr Sarnacki 2016-01-14 14:04:27 +01:00
parent 8eaee33d6d
commit 0a872e25a7
2 changed files with 2 additions and 1 deletions

View File

@ -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');
};

View File

@ -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">