From 8908936ec678f1cf4c24472451f503ef4257382e Mon Sep 17 00:00:00 2001 From: Diamantis Tziotzios Date: Tue, 21 Nov 2023 10:07:46 +0200 Subject: [PATCH] small fix --- .../dataset-wizard.component.html | 1 - .../dataset-wizard.component.ts | 19 ------------------- 2 files changed, 20 deletions(-) diff --git a/dmp-frontend/src/app/ui/dataset/dataset-wizard/dataset-wizard.component.html b/dmp-frontend/src/app/ui/dataset/dataset-wizard/dataset-wizard.component.html index 6b84a8950..6f65a8697 100644 --- a/dmp-frontend/src/app/ui/dataset/dataset-wizard/dataset-wizard.component.html +++ b/dmp-frontend/src/app/ui/dataset/dataset-wizard/dataset-wizard.component.html @@ -188,7 +188,6 @@ - diff --git a/dmp-frontend/src/app/ui/dataset/dataset-wizard/dataset-wizard.component.ts b/dmp-frontend/src/app/ui/dataset/dataset-wizard/dataset-wizard.component.ts index 09399b259..22f9e2c42 100644 --- a/dmp-frontend/src/app/ui/dataset/dataset-wizard/dataset-wizard.component.ts +++ b/dmp-frontend/src/app/ui/dataset/dataset-wizard/dataset-wizard.component.ts @@ -1169,25 +1169,6 @@ export class DatasetWizardComponent extends CheckDeactivateBaseComponent impleme } } - openUpdateDatasetProfileDialogue() { - const dialogRef = this.dialog.open(ConfirmationDialogComponent, { - restoreFocus: false, - data: { - message: this.language.instant('DATASET-EDITOR.VERSION-DIALOG.QUESTION'), - confirmButton: this.language.instant('GENERAL.CONFIRMATION-DIALOG.ACTIONS.CONFIRM'), - cancelButton: this.language.instant('GENERAL.CONFIRMATION-DIALOG.ACTIONS.CANCEL'), - isDeleteConfirmation: false - } - }); - dialogRef.afterClosed().pipe(takeUntil(this._destroyed)).subscribe(result => { - if (result) { - this.profileUpdateId = this.itemId; - this.uiNotificationService.snackBarNotification(this.language.instant('DATASET-WIZARD.MESSAGES.SUCCESS-UPDATE-DATASET-PROFILE'), SnackBarNotificationLevel.Success); - this.router.navigate(['/datasets/profileupdate/' + this.profileUpdateId]); - } - }); - } - linkToScroll: LinkToScroll; onStepFound(linkToScroll: LinkToScroll) {