mirror of
https://github.com/zadam/trilium.git
synced 2026-03-25 21:30:14 +01:00
client/CSS class manager: fix a bug when handling red hues
This commit is contained in:
@@ -39,7 +39,7 @@ function createClassForColor(colorString: string | null) {
|
||||
</style>`);
|
||||
|
||||
registeredClasses.add(className);
|
||||
if (hue) {
|
||||
if (hue !== undefined) {
|
||||
colorsWithHue.add(className);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user