mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-22 11:42:30 +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: [],
|
labels: [],
|
||||||
parentIssue: undefined,
|
parentIssue: undefined,
|
||||||
priority: 0,
|
priority: 0,
|
||||||
project: null,
|
|
||||||
sprint: null,
|
|
||||||
subIssues: [],
|
subIssues: [],
|
||||||
template: undefined,
|
template: undefined,
|
||||||
title: ''
|
title: ''
|
||||||
@ -359,6 +357,14 @@
|
|||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (draft.project && draft.project !== defaultIssue.project) {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
|
if (draft.sprint && draft.sprint !== defaultIssue.sprint) {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
if (draft.status === '') {
|
if (draft.status === '') {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user