Compare commits

...

1 Commits

Author SHA1 Message Date
Waleed
cb4db20a5f fix(color-picker): confirm color change before updating workflow color (#2776) 2026-01-11 18:47:48 -08:00

View File

@@ -347,11 +347,11 @@ export function ContextMenu({
title={name}
onClick={(e) => {
e.stopPropagation()
onColorChange(color)
setHexInput(color)
}}
className={cn(
'h-[20px] w-[20px] rounded-[4px]',
currentColor?.toLowerCase() === color.toLowerCase() && 'ring-1 ring-white'
hexInput.toLowerCase() === color.toLowerCase() && 'ring-1 ring-white'
)}
style={{ backgroundColor: color }}
/>