Skip to content

Build your personal knowledge base with Trilium Notes

client/note color picker menu item: fix a typo

Adorian Doran870fef3ea63e
diff --git a/apps/client/src/menus/custom-items/ColorPickerMenuItem.tsx b/apps/client/src/menus/custom-items/ColorPickerMenuItem.tsx
index 729c7c50b8..b9e6d876ad 100644
--- a/apps/client/src/menus/custom-items/ColorPickerMenuItem.tsx
+++ b/apps/client/src/menus/custom-items/ColorPickerMenuItem.tsx
@@ -46,7 +46,7 @@ export default function ColorPickerMenuItem(props: ColorPickerMenuItemProps) {
<ColorCell key={color}
color={color}
isSelected={(color === currentColor)}
- isDisabled={(note !== null)}
+ isDisabled={(note === null)}
onClick={() => onColorCellClicked(color)} />
))}
</div>