forked from github/plane
fix: draft issue title logic (#4104)
This commit is contained in:
parent
1423955a34
commit
84e73291cc
@ -84,7 +84,7 @@ export const DraftIssueLayout: React.FC<DraftIssueProps> = observer((props) => {
|
|||||||
|
|
||||||
const payload = {
|
const payload = {
|
||||||
...changesMade,
|
...changesMade,
|
||||||
name: changesMade?.name && changesMade?.name?.trim() === "" ? changesMade.name?.trim() : "Untitled",
|
name: changesMade?.name && changesMade?.name?.trim() !== "" ? changesMade.name?.trim() : "Untitled",
|
||||||
};
|
};
|
||||||
|
|
||||||
await issueDraftService
|
await issueDraftService
|
||||||
|
Loading…
Reference in New Issue
Block a user