mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
fix: default label color (#551)
* feat: block sync * fix: default label color
This commit is contained in:
parent
909ccd578b
commit
e0928d6ec5
@ -53,7 +53,7 @@ export const SingleLabelGroup: React.FC<Props> = ({
|
|||||||
.patchIssueLabel(workspaceSlug as string, projectId as string, label.id, {
|
.patchIssueLabel(workspaceSlug as string, projectId as string, label.id, {
|
||||||
parent: null,
|
parent: null,
|
||||||
})
|
})
|
||||||
.then((res) => {
|
.then(() => {
|
||||||
mutate(PROJECT_ISSUE_LABELS(projectId as string));
|
mutate(PROJECT_ISSUE_LABELS(projectId as string));
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
@ -108,7 +108,8 @@ export const SingleLabelGroup: React.FC<Props> = ({
|
|||||||
<span
|
<span
|
||||||
className="h-2.5 w-2.5 flex-shrink-0 rounded-full"
|
className="h-2.5 w-2.5 flex-shrink-0 rounded-full"
|
||||||
style={{
|
style={{
|
||||||
backgroundColor: child.color,
|
backgroundColor:
|
||||||
|
child.color && child.color !== "" ? child.color : "#000000",
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
{child.name}
|
{child.name}
|
||||||
|
Loading…
Reference in New Issue
Block a user