From a51aa3aeb53dd5dab241b1e0bac5a2f644fd09d6 Mon Sep 17 00:00:00 2001 From: George Kalampokis Date: Mon, 21 Mar 2022 15:10:28 +0200 Subject: [PATCH] Remove unused module on the frontend --- dmp-frontend/package.json | 1 - dmp-frontend/src/app/ui/dmp/listing/dmp-listing.component.ts | 4 ++-- dmp-frontend/src/app/ui/dmp/overview/dmp-overview.module.ts | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/dmp-frontend/package.json b/dmp-frontend/package.json index 12b85564e..020f2a1e1 100644 --- a/dmp-frontend/package.json +++ b/dmp-frontend/package.json @@ -31,7 +31,6 @@ "file-saver": "^2.0.5", "moment": "^2.29.1", "moment-timezone": "^0.5.33", - "ng-dialog-animation": "^9.0.4", "ng2-dragula": "^2.1.1", "ngx-cookie-service": "^12.0.3", "ngx-cookieconsent": "^2.2.3", diff --git a/dmp-frontend/src/app/ui/dmp/listing/dmp-listing.component.ts b/dmp-frontend/src/app/ui/dmp/listing/dmp-listing.component.ts index f825230d6..cc207f142 100644 --- a/dmp-frontend/src/app/ui/dmp/listing/dmp-listing.component.ts +++ b/dmp-frontend/src/app/ui/dmp/listing/dmp-listing.component.ts @@ -28,7 +28,7 @@ import { DmpCriteriaDialogComponent } from './criteria/dmp-criteria-dialog.compo import { RecentActivityOrder } from '@app/core/common/enum/recent-activity-order'; import { GuidedTourService } from '@app/library/guided-tour/guided-tour.service'; import { GuidedTour, Orientation } from '@app/library/guided-tour/guided-tour.constants'; -import { NgDialogAnimationService } from "ng-dialog-animation"; +//import { NgDialogAnimationService } from "ng-dialog-animation"; import { HttpClient } from '@angular/common/http'; import { MatomoService } from '@app/core/services/matomo/matomo-service'; @@ -75,7 +75,7 @@ export class DmpListingComponent extends BaseComponent implements OnInit, IBread private dmpService: DmpService, private router: Router, private route: ActivatedRoute, - public dialogAnimation: NgDialogAnimationService, + //public dialogAnimation: NgDialogAnimationService, public dialog: MatDialog, public enumUtils: EnumUtils, private language: TranslateService, diff --git a/dmp-frontend/src/app/ui/dmp/overview/dmp-overview.module.ts b/dmp-frontend/src/app/ui/dmp/overview/dmp-overview.module.ts index dc73b4f76..be0a5c30e 100644 --- a/dmp-frontend/src/app/ui/dmp/overview/dmp-overview.module.ts +++ b/dmp-frontend/src/app/ui/dmp/overview/dmp-overview.module.ts @@ -9,7 +9,7 @@ import { CommonFormsModule } from '@common/forms/common-forms.module'; import { CommonUiModule } from '@common/ui/common-ui.module'; import { RouterModule } from '@angular/router'; import { CloneDialogModule } from '../clone/clone-dialog/clone-dialog.module'; -import { NgDialogAnimationService } from 'ng-dialog-animation'; +//import { NgDialogAnimationService } from 'ng-dialog-animation'; @NgModule({ imports: [ @@ -27,7 +27,7 @@ import { NgDialogAnimationService } from 'ng-dialog-animation'; DmpOverviewComponent ], providers: [ - NgDialogAnimationService + //NgDialogAnimationService ] }) export class DmpOverviewModule { }