mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-08-14 04:40: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 {
|
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';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user