mirror of
https://github.com/makeplane/plane.git
synced 2026-07-13 14:01:45 +02:00
Merge pull request #1960 from makeplane/sync/ce-ee
Sync: Community Changes
This commit is contained in:
@@ -185,11 +185,18 @@ export const IssueLabelSelect: React.FC<IIssueLabelSelect> = observer((props) =>
|
||||
) : canCreateLabel ? (
|
||||
<p
|
||||
onClick={() => {
|
||||
if(!query.length) return
|
||||
handleAddLabel(query);
|
||||
}}
|
||||
className="text-left text-custom-text-200 cursor-pointer"
|
||||
className={`text-left text-custom-text-200 ${query.length ? "cursor-pointer" : "cursor-default"}`}
|
||||
>
|
||||
+ Add <span className="text-custom-text-100">"{query}"</span> to labels
|
||||
{query.length ? (
|
||||
<>
|
||||
+ Add <span className="text-custom-text-100">"{query}"</span> to labels
|
||||
</>
|
||||
) : (
|
||||
"Type to add a new label"
|
||||
)}
|
||||
</p>
|
||||
) : (
|
||||
<p className="text-left text-custom-text-200 ">No matching results.</p>
|
||||
|
||||
@@ -341,11 +341,18 @@ export const IssuePropertyLabels: React.FC<IIssuePropertyLabels> = observer((pro
|
||||
) : canCreateLabel ? (
|
||||
<p
|
||||
onClick={() => {
|
||||
if (!query.length) return;
|
||||
handleAddLabel(query);
|
||||
}}
|
||||
className="text-left text-custom-text-200 cursor-pointer"
|
||||
className={`text-left text-custom-text-200 ${query.length ? "cursor-pointer" : "cursor-default"}`}
|
||||
>
|
||||
+ Add <span className="text-custom-text-100">"{query}"</span> to labels
|
||||
{query.length ? (
|
||||
<>
|
||||
+ Add <span className="text-custom-text-100">"{query}"</span> to labels
|
||||
</>
|
||||
) : (
|
||||
"Type to add a new label"
|
||||
)}
|
||||
</p>
|
||||
) : (
|
||||
<p className="text-left text-custom-text-200 ">No matching results.</p>
|
||||
|
||||
Reference in New Issue
Block a user