fix: draft issue title logic (#4104)

This commit is contained in:
Anmol Singh Bhatia 2024-04-01 17:53:40 +05:30 committed by GitHub
parent 1423955a34
commit 84e73291cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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