diff --git a/frontend/src/modules/WellCompletion/settings.tsx b/frontend/src/modules/WellCompletion/settings.tsx index 0348666da..c31a742c5 100644 --- a/frontend/src/modules/WellCompletion/settings.tsx +++ b/frontend/src/modules/WellCompletion/settings.tsx @@ -13,6 +13,7 @@ import { Input } from "@lib/components/Input"; import { Label } from "@lib/components/Label"; import { RadioGroup } from "@lib/components/RadioGroup"; import { Switch } from "@lib/components/Switch"; +import { resolveClassNames } from "@lib/components/_utils/resolveClassNames"; import { useValidState } from "@lib/hooks/useValidState"; import { isEqual } from "lodash"; @@ -281,75 +282,79 @@ export const settings = ({ moduleContext, workbenchSession, workbenchServices }: value={computedEnsembleIdent} onChange={handleEnsembleSelectionChange} /> - {wellCompletionQuery.isError && ( -
- Current ensemble does not contain well completions data + { +
+ {wellCompletionQuery.isError + ? "Current ensemble does not contain well completions data" + : ""}
- )} + } - - {realizationSelection === RealizationSelection.Single && ( -
); };