diff --git a/src/app/+admin/admin-sidebar/admin-sidebar.component.ts b/src/app/+admin/admin-sidebar/admin-sidebar.component.ts index eefc10c16e..3bfbf2de5b 100644 --- a/src/app/+admin/admin-sidebar/admin-sidebar.component.ts +++ b/src/app/+admin/admin-sidebar/admin-sidebar.component.ts @@ -357,7 +357,7 @@ export class AdminSidebarComponent extends MenuComponent implements OnInit { observableCombineLatest( this.authorizationService.isAuthorized(FeatureID.AdministratorOf), - this.scriptDataService.scriptWithNameExistsAndCanExecute(METADATA_EXPORT_SCRIPT_NAME) + // this.scriptDataService.scriptWithNameExistsAndCanExecute(METADATA_EXPORT_SCRIPT_NAME) ).pipe( // TODO uncomment when #635 (https://github.com/DSpace/dspace-angular/issues/635) is fixed; otherwise even in production mode, the metadata export button is only available after a refresh (and not in dev mode) // filter(([authorized, metadataExportScriptExists]: boolean[]) => authorized && metadataExportScriptExists), @@ -416,7 +416,7 @@ export class AdminSidebarComponent extends MenuComponent implements OnInit { observableCombineLatest( this.authorizationService.isAuthorized(FeatureID.AdministratorOf), - this.scriptDataService.scriptWithNameExistsAndCanExecute(METADATA_IMPORT_SCRIPT_NAME) + // this.scriptDataService.scriptWithNameExistsAndCanExecute(METADATA_IMPORT_SCRIPT_NAME) ).pipe( // TODO uncomment when #635 (https://github.com/DSpace/dspace-angular/issues/635) is fixed // filter(([authorized, metadataImportScriptExists]: boolean[]) => authorized && metadataImportScriptExists), diff --git a/src/app/shared/confirmation-modal/confirmation-modal.component.html b/src/app/shared/confirmation-modal/confirmation-modal.component.html new file mode 100644 index 0000000000..bb67213ed3 --- /dev/null +++ b/src/app/shared/confirmation-modal/confirmation-modal.component.html @@ -0,0 +1,16 @@ +
{{ infoLabel | translate:{dsoName: dso?.name} }}
+ + +