Skip to content

Commit

Permalink
fix: optimize condition editing logic in DatasetsFilterSettingsCompon…
Browse files Browse the repository at this point in the history
…ent (SciCatProject#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
  • Loading branch information
Junjiequan authored and sofyalaski committed Dec 17, 2024
1 parent 2ce4ad1 commit 151892a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/datasets/datasets.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down

0 comments on commit 151892a

Please sign in to comment.