B: Fix triple position color

This commit is contained in:
Ivan 2025-07-29 15:22:19 +03:00
parent 4351b2e1c9
commit e4480b158d

View File

@ -102,7 +102,7 @@ export function toggleTristateFlag(prev: boolean | null): boolean | null {
*/ */
export function tripleToggleColor(value: boolean | null): string | undefined { export function tripleToggleColor(value: boolean | null): string | undefined {
if (value === null) { if (value === null) {
return undefined; return '';
} }
return value ? 'text-constructive' : 'text-destructive'; return value ? 'text-constructive' : 'text-destructive';
} }