Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

Commit

Permalink
fix(remove_duplicate_instances): remove multiple instances of auth se…
Browse files Browse the repository at this point in the history
…rvice (#2819)
  • Loading branch information
karthikjeeyar authored and nimishamukherjee committed Dec 14, 2018
1 parent ca3a7d5 commit dea441e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -121,7 +120,6 @@ import { UserAvatarModule } from './../../widgets/user-avatar/user-avatar.module
UrlService,
SpaceQuery,
BsDropdownConfig,
AuthenticationService,
TooltipConfig,
IterationQuery,
WorkItemQuery,
Expand Down

0 comments on commit dea441e

Please sign in to comment.