mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-22 03:14:40 +03:00
TSK-487: Resume draft stuck in Resume state (#2443)
* Fix empty draft check Signed-off-by: Denis Maslennikov <denis.maslennikov@gmail.com> * Fix formatting Signed-off-by: Denis Maslennikov <denis.maslennikov@gmail.com> Signed-off-by: Denis Maslennikov <denis.maslennikov@gmail.com>
This commit is contained in:
parent
c9cf866066
commit
fac40733f4
@ -340,8 +340,6 @@
|
||||
labels: [],
|
||||
parentIssue: undefined,
|
||||
priority: 0,
|
||||
project: null,
|
||||
sprint: null,
|
||||
subIssues: [],
|
||||
template: undefined,
|
||||
title: ''
|
||||
@ -359,6 +357,14 @@
|
||||
return false
|
||||
}
|
||||
|
||||
if (draft.project && draft.project !== defaultIssue.project) {
|
||||
return false
|
||||
}
|
||||
|
||||
if (draft.sprint && draft.sprint !== defaultIssue.sprint) {
|
||||
return false
|
||||
}
|
||||
|
||||
if (draft.status === '') {
|
||||
return true
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user