diff --git a/src/app/components_ngrx/work-item-detail/work-item-detail.component.ts b/src/app/components_ngrx/work-item-detail/work-item-detail.component.ts index a2e3fbb30..a6f5d7c04 100644 --- a/src/app/components_ngrx/work-item-detail/work-item-detail.component.ts +++ b/src/app/components_ngrx/work-item-detail/work-item-detail.component.ts @@ -31,7 +31,8 @@ import { AppState } from './../../states/app.state'; @Component({ selector: 'work-item-detail', templateUrl: './work-item-detail.component.html', - styleUrls: ['./work-item-detail.component.less'] + styleUrls: ['./work-item-detail.component.less'], + providers: [AuthenticationService] }) export class WorkItemDetailComponent implements OnInit, OnDestroy, AfterViewChecked { @ViewChild('detailHeader') detailHeader: ElementRef; diff --git a/src/app/components_ngrx/work-item-detail/work-item-detail.module.ts b/src/app/components_ngrx/work-item-detail/work-item-detail.module.ts index 59f41cb7f..c702129eb 100644 --- a/src/app/components_ngrx/work-item-detail/work-item-detail.module.ts +++ b/src/app/components_ngrx/work-item-detail/work-item-detail.module.ts @@ -5,7 +5,6 @@ import { RouterModule } from '@angular/router'; import { MyDatePickerModule } from 'mydatepicker'; import { TruncateModule } from 'ng2-truncate'; import { TooltipConfig, TooltipModule } from 'ngx-bootstrap/tooltip'; -import { AuthenticationService } from 'ngx-login-client'; import { MarkdownModule, WidgetsModule } from 'ngx-widgets'; import { PlannerModalModule } from '../../widgets/modal/modal.module'; import { DynamicFieldComponent } from '../dynamic-field/dynamic-field.component'; @@ -121,7 +120,6 @@ import { UserAvatarModule } from './../../widgets/user-avatar/user-avatar.module UrlService, SpaceQuery, BsDropdownConfig, - AuthenticationService, TooltipConfig, IterationQuery, WorkItemQuery,