|
|
|
@ -47,8 +47,8 @@ export class WorkPackageTabsService { |
|
|
|
|
(tab) => ({ |
|
|
|
|
...tab, |
|
|
|
|
counter: tab.count |
|
|
|
|
? (injector:Injector) => tab.count!(workPackage, injector || this.injector) |
|
|
|
|
: (_:Injector) => from([0]), |
|
|
|
|
? (injector:Injector) => tab.count!(workPackage, injector || this.injector) // eslint-disable-line no-non-null-assertion
|
|
|
|
|
: (_:Injector) => from([0]), // eslint-disable-line no-unused-vars
|
|
|
|
|
}), |
|
|
|
|
); |
|
|
|
|
} |
|
|
|
|