mirror of
https://github.com/hcengineering/platform.git
synced 2025-01-03 17:05:16 +03:00
TSK-1402: fix default assignee when creating issues (#3159)
Signed-off-by: Vyacheslav Tumanov <me@slavatumanov.me>
This commit is contained in:
parent
8c50419027
commit
cb341aba6e
@ -289,7 +289,7 @@
|
||||
}
|
||||
|
||||
function updateAssigneeId (object: IssueDraft, currentProject: Project | undefined) {
|
||||
if (object.assignee === undefined && currentProject !== undefined) {
|
||||
if (object.assignee == null && currentProject !== undefined) {
|
||||
if (currentProject.defaultAssignee !== undefined) {
|
||||
object.assignee = currentProject.defaultAssignee
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user