From 5be0c116d1b86c2b4e4a9fff924180b4e4425534 Mon Sep 17 00:00:00 2001 From: jorgenherje Date: Mon, 16 Dec 2024 10:45:48 +0100 Subject: [PATCH] Adjust highlight of duplicate delta ensembles in dialog --- .../SelectEnsemblesDialog/selectEnsemblesDialog.tsx | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/frontend/src/framework/internal/components/SelectEnsemblesDialog/selectEnsemblesDialog.tsx b/frontend/src/framework/internal/components/SelectEnsemblesDialog/selectEnsemblesDialog.tsx index e490b6854..d9dec6203 100644 --- a/frontend/src/framework/internal/components/SelectEnsemblesDialog/selectEnsemblesDialog.tsx +++ b/frontend/src/framework/internal/components/SelectEnsemblesDialog/selectEnsemblesDialog.tsx @@ -556,7 +556,7 @@ export const SelectEnsemblesDialog: React.FC = (prop > Discard changes -
+
- {/* */}
Selected Ensembles
@@ -732,9 +731,8 @@ export const SelectEnsemblesDialog: React.FC = (prop
@@ -781,10 +779,10 @@ export const SelectEnsemblesDialog: React.FC = (prop { "hover:bg-red-50 odd:bg-red-200 even:bg-red-300": !isDeltaEnsembleValid, - "hover:bg-slate-100 odd:bg-slate-50": isDeltaEnsembleValid, - "hover:bg-blue-50 odd:bg-blue-200 even:bg-blue-300": isDeltaEnsembleValid && isDuplicateDeltaEnsemble, + "hover:bg-slate-100 odd:bg-slate-50": + isDeltaEnsembleValid && !isDuplicateDeltaEnsemble, } )} >