diff --git a/src/app/shared/issue-tables/issue-tables.component.ts b/src/app/shared/issue-tables/issue-tables.component.ts index eaee059a0..e480f0ef5 100644 --- a/src/app/shared/issue-tables/issue-tables.component.ts +++ b/src/app/shared/issue-tables/issue-tables.component.ts @@ -50,9 +50,9 @@ export class IssueTablesComponent implements OnInit { issuesPendingDeletion: {[id: number]: boolean}; private readonly action_buttons = ACTION_BUTTONS; - constructor(private permissions: PermissionService, + constructor(public userService: UserService, + private permissions: PermissionService, private labelService: LabelService, - private userService: UserService, private githubService: GithubService, private issueService: IssueService, private errorHandlingService: ErrorHandlingService) { } diff --git a/src/app/shared/label-dropdown/label-dropdown.component.ts b/src/app/shared/label-dropdown/label-dropdown.component.ts index ace11f7d0..455e1c5c4 100644 --- a/src/app/shared/label-dropdown/label-dropdown.component.ts +++ b/src/app/shared/label-dropdown/label-dropdown.component.ts @@ -17,7 +17,7 @@ export class LabelDropdownComponent implements OnInit { selectedColor: string; labelList: Label[]; - constructor(private labelService: LabelService) { } + constructor(public labelService: LabelService) { } ngOnInit() { this.selectedColor = this.labelService.getColorOfLabel(this.initialValue); diff --git a/src/app/shared/view-issue/view-issue.component.ts b/src/app/shared/view-issue/view-issue.component.ts index 37b5878d3..ae606c3f5 100644 --- a/src/app/shared/view-issue/view-issue.component.ts +++ b/src/app/shared/view-issue/view-issue.component.ts @@ -45,8 +45,8 @@ export class ViewIssueComponent implements OnInit, OnDestroy { @Input() issueId: number; @Input() issueComponents: ISSUE_COMPONENTS[]; - private readonly issueComponentsEnum = ISSUE_COMPONENTS; - private readonly userRole = UserRole; + public readonly issueComponentsEnum = ISSUE_COMPONENTS; + public readonly userRole = UserRole; constructor(private issueCommentService: IssueCommentService, private route: ActivatedRoute,