Add loader for long running operations (#1790)

This commit is contained in:
Aditya Chandel
2025-12-07 20:23:47 -07:00
committed by GitHub
parent b00bc5f908
commit 42d2e83599
8 changed files with 239 additions and 116 deletions
@@ -65,7 +65,6 @@ interface TabConfig {
export class MetadataManagerComponent implements OnInit, OnDestroy {
private bookService = inject(BookService);
private messageService = inject(MessageService);
private confirmationService = inject(ConfirmationService);
private router = inject(Router);
private route = inject(ActivatedRoute);
private pageTitle = inject(PageTitleService);
@@ -149,7 +148,7 @@ export class MetadataManagerComponent implements OnInit, OnDestroy {
}
updatePageTitle() {
const currentTab = this.tabConfigs.find((tab)=> tab.type === this._activeTab);
const currentTab = this.tabConfigs.find((tab) => tab.type === this._activeTab);
this.pageTitle.setPageTitle(`Metadata Manager: ${currentTab?.label ?? this._activeTab}`);
}