diff --git a/rsconcept/frontend/src/utils/utils.ts b/rsconcept/frontend/src/utils/utils.ts index 25b956c9..e627cc1f 100644 --- a/rsconcept/frontend/src/utils/utils.ts +++ b/rsconcept/frontend/src/utils/utils.ts @@ -102,7 +102,7 @@ export function toggleTristateFlag(prev: boolean | null): boolean | null { */ export function tripleToggleColor(value: boolean | null): string | undefined { if (value === null) { - return undefined; + return ''; } return value ? 'text-constructive' : 'text-destructive'; }