Update default status id for issues when created one after another (#2501)

Signed-off-by: Vyacheslav Tumanov <me@slavatumanov.me>
This commit is contained in:
Vyacheslav Tumanov 2023-01-12 20:51:22 +05:00 committed by GitHub
parent c74f48d044
commit 8fa7c938da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -159,6 +159,9 @@
template = undefined
object = { ...defaultIssue }
subIssues = []
if (!originalIssue && !draft) {
updateIssueStatusId(_space, status)
}
}
let templateId: Ref<IssueTemplate> | undefined = draft?.template?.template