Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-03-24 09:08:31 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-03-24 09:08:31 +0300
commit647e9a6eed1d6cc29b62e432f89ed8260fd773a5 (patch)
tree156f377413b0a34ba986b6e902aab5859d83ff0f /app/assets/javascripts/boards
parentb132e99b27865f1e87d640ec538b282e8071ad53 (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.js2
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,
};
}