diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-03-24 09:08:31 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-03-24 09:08:31 +0300 |
commit | 647e9a6eed1d6cc29b62e432f89ed8260fd773a5 (patch) | |
tree | 156f377413b0a34ba986b6e902aab5859d83ff0f /app/assets/javascripts/boards | |
parent | b132e99b27865f1e87d640ec538b282e8071ad53 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/boards')
-rw-r--r-- | app/assets/javascripts/boards/boards_util.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/boards/boards_util.js b/app/assets/javascripts/boards/boards_util.js index 70afd244782..9fca9860282 100644 --- a/app/assets/javascripts/boards/boards_util.js +++ b/app/assets/javascripts/boards/boards_util.js @@ -121,7 +121,7 @@ export function formatIssueInput(issueInput, boardConfig) { : issueInput?.milestoneId, labelIds: [...labelIds, ...(labels?.map((l) => fullLabelId(l)) || [])], assigneeIds: [...assigneeIds, ...(assigneeId ? [fullUserId(assigneeId)] : [])], - weight, + weight: weight > -1 ? weight : undefined, }; } |