From 151892a82ceaa18759be11b13d8e56d1d69f4215 Mon Sep 17 00:00:00 2001 From: Jay Date: Fri, 29 Nov 2024 14:30:40 +0100 Subject: [PATCH] fix: optimize condition editing logic in DatasetsFilterSettingsComponent (#1673) * fix: optimize condition editing logic in DatasetsFilterSettingsComponent * if user creates duplicated condition, do nothing * add snackbar notification for duplicate condition in DatasetsFilterSettingsComponent * remove unused import * remove panelClass from snackBar * added e2e test for the change --- src/app/datasets/datasets.module.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/datasets/datasets.module.ts b/src/app/datasets/datasets.module.ts index 2c007619c..7b11366ef 100644 --- a/src/app/datasets/datasets.module.ts +++ b/src/app/datasets/datasets.module.ts @@ -92,6 +92,7 @@ import { userReducer } from "state-management/reducers/user.reducer"; import { MatSnackBarModule } from "@angular/material/snack-bar"; import { OneDepComponent } from "./onedep/onedep.component"; import { OrcidFormatterDirective } from "./onedep/onedep.directive"; +import { MatSnackBarModule } from "@angular/material/snack-bar"; @NgModule({ imports: [