{{tab.category}}
diff --git a/mediarepo-ui/src/app/components/core/core.component.ts b/mediarepo-ui/src/app/components/core/core.component.ts
index 79d3b93..6b07685 100644
--- a/mediarepo-ui/src/app/components/core/core.component.ts
+++ b/mediarepo-ui/src/app/components/core/core.component.ts
@@ -27,7 +27,8 @@ export class CoreComponent {
private tabService: TabService,
private repoService: RepositoryService,
private stateService: StateService,
- private tagService: TagService) {
+ private tagService: TagService
+ ) {
this.selectedRepository = this.repoService.selectedRepository.getValue();
this.repoService.selectedRepository.subscribe(async (selected) => {
@@ -114,4 +115,8 @@ export class CoreComponent {
await this.closeTab(tab);
}
}
+
+ public trackByTabId(index: number, item: TabState) {
+ return item.uuid;
+ }
}