|
|
@ -27,7 +27,8 @@ export class CoreComponent {
|
|
|
|
private tabService: TabService,
|
|
|
|
private tabService: TabService,
|
|
|
|
private repoService: RepositoryService,
|
|
|
|
private repoService: RepositoryService,
|
|
|
|
private stateService: StateService,
|
|
|
|
private stateService: StateService,
|
|
|
|
private tagService: TagService) {
|
|
|
|
private tagService: TagService
|
|
|
|
|
|
|
|
) {
|
|
|
|
this.selectedRepository = this.repoService.selectedRepository.getValue();
|
|
|
|
this.selectedRepository = this.repoService.selectedRepository.getValue();
|
|
|
|
|
|
|
|
|
|
|
|
this.repoService.selectedRepository.subscribe(async (selected) => {
|
|
|
|
this.repoService.selectedRepository.subscribe(async (selected) => {
|
|
|
@ -114,4 +115,8 @@ export class CoreComponent {
|
|
|
|
await this.closeTab(tab);
|
|
|
|
await this.closeTab(tab);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public trackByTabId(index: number, item: TabState) {
|
|
|
|
|
|
|
|
return item.uuid;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|