fix: old labels must have black color in project settings (#657)

This commit is contained in:
Saheb Giri 2023-03-31 18:03:42 +05:30 committed by GitHub
parent 844ae4869a
commit 448d8c63f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -146,7 +146,7 @@ export const LabelsListModal: React.FC<Props> = ({ isOpen, handleClose, parent }
<span
className="block h-1.5 w-1.5 flex-shrink-0 rounded-full"
style={{
backgroundColor: label.color,
backgroundColor: label.color !== "" ? label.color : "#000000",
}}
/>
{label.name}