diff --git a/src/lib/context/context-item/context-item.component.html b/src/lib/context/context-item/context-item.component.html index 5be672d862..166b3babf5 100644 --- a/src/lib/context/context-item/context-item.component.html +++ b/src/lib/context/context-item/context-item.component.html @@ -2,7 +2,7 @@ {{context.icon ? context.icon : 'star'}}

{{context.title}}

-
diff --git a/src/lib/context/context-item/context-item.component.ts b/src/lib/context/context-item/context-item.component.ts index aece37e06c..d8b0ddf473 100644 --- a/src/lib/context/context-item/context-item.component.ts +++ b/src/lib/context/context-item/context-item.component.ts @@ -1,5 +1,6 @@ import { Component, Input, Output, EventEmitter } from '@angular/core'; +import { AuthService } from '../../auth'; import { TypePermission } from '../shared/context.enum'; import { DetailedContext } from '../shared/context.interface'; @@ -26,4 +27,7 @@ export class ContextItemComponent { @Output() clone = new EventEmitter(); @Output() managePermissions = new EventEmitter(); @Output() manageTools = new EventEmitter(); + + constructor(public auth: AuthService) {} + }