diff --git a/mediarepo-ui/src/app/components/core/repositories-tab/repositories-tab.component.ts b/mediarepo-ui/src/app/components/core/repositories-tab/repositories-tab.component.ts index 06a6afb..c98d9ae 100644 --- a/mediarepo-ui/src/app/components/core/repositories-tab/repositories-tab.component.ts +++ b/mediarepo-ui/src/app/components/core/repositories-tab/repositories-tab.component.ts @@ -73,7 +73,6 @@ export class RepositoriesTabComponent implements OnInit, AfterViewInit { await this.runRepositoryStartupTasks(dialogContext); dialogContext.message.next("Restoring previous tabs..."); await this.repoService.loadRepositories(); - await this.stateService.loadState(); dialogContext.dialog.close(true); } catch (err: any) { this.errorBroker.showError(err); diff --git a/mediarepo-ui/src/app/components/shared/sidebar/file-search/file-search.component.ts b/mediarepo-ui/src/app/components/shared/sidebar/file-search/file-search.component.ts index 4188f5e..48ee968 100644 --- a/mediarepo-ui/src/app/components/shared/sidebar/file-search/file-search.component.ts +++ b/mediarepo-ui/src/app/components/shared/sidebar/file-search/file-search.component.ts @@ -70,7 +70,6 @@ export class FileSearchComponent implements AfterViewChecked, OnInit { }); this.state.sortKeys.subscribe(s => this.sortExpression = s); this.applyStatusFromFilters(); - await this.searchForFiles(); this.needsScroll = true; this.assignDisplayedFilters(); }