UBERF-4309, UBERF-4311: Fix statuses, default issue for project (#4026)

Signed-off-by: Vyacheslav Tumanov <me@slavatumanov.me>
This commit is contained in:
Vyacheslav Tumanov 2023-11-21 19:58:33 +05:00 committed by GitHub
parent dd67020cc9
commit bf68a5c00e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -369,7 +369,7 @@
kind={'ghost'}
showTooltip={{ label: tracker.string.AddIssueTooltip, direction: 'left' }}
on:click={() => {
showPopup(CreateIssue, { space: currentSpace, [groupByKey]: state._id }, 'top')
showPopup(CreateIssue, { space: currentSpace, [groupByKey]: state }, 'top')
}}
/>
</div>

View File

@ -117,6 +117,9 @@
if (projectData.defaultAssignee !== project?.defaultAssignee) {
update.defaultAssignee = projectData.defaultAssignee
}
if (projectData.defaultIssueStatus !== project?.defaultIssueStatus) {
update.defaultIssueStatus = projectData.defaultIssueStatus
}
if (projectData.icon !== project?.icon) {
update.icon = projectData.icon
}