mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-08-13 20:30:36 +03:00
B: Fix triple position color
This commit is contained in:
parent
4351b2e1c9
commit
e4480b158d
|
@ -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';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user