summaryrefslogtreecommitdiff
path: root/app/views/projects/boards/components/sidebar/_assignee.html.haml
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-05-04 16:05:22 +0100
committerPhil Hughes <me@iamphill.com>2017-05-04 16:05:22 +0100
commit5996e8f923218da1449784d704bc6b598bb45421 (patch)
tree175830ddfb700909346cc8949f3200cceb622729 /app/views/projects/boards/components/sidebar/_assignee.html.haml
parent79d50538c4c633dd35b6182ba4d08d4eba7576fc (diff)
parent985737fdcf9b79dadfb72d0c9ed9abf4464559f8 (diff)
downloadgitlab-ce-5996e8f923218da1449784d704bc6b598bb45421.tar.gz
Merge branch 'master' into issue-boards-no-avatar
Diffstat (limited to 'app/views/projects/boards/components/sidebar/_assignee.html.haml')
-rw-r--r--app/views/projects/boards/components/sidebar/_assignee.html.haml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/projects/boards/components/sidebar/_assignee.html.haml b/app/views/projects/boards/components/sidebar/_assignee.html.haml
index e75ce305440..0f424334521 100644
--- a/app/views/projects/boards/components/sidebar/_assignee.html.haml
+++ b/app/views/projects/boards/components/sidebar/_assignee.html.haml
@@ -28,8 +28,9 @@
":value" => "issue.assignee.id",
"v-if" => "issue.assignee" }
.dropdown
- %button.dropdown-menu-toggle.js-user-search.js-author-search.js-issue-board-sidebar{ type: "button", data: { toggle: "dropdown", field_name: "issue[assignee_id]", first_user: (current_user.username if current_user), current_user: "true", project_id: @project.id, null_user: "true" },
+ %button.dropdown-menu-toggle.js-user-search.js-author-search.js-issue-board-sidebar{ type: "button", data: { toggle: "dropdown", field_name: "issue[assignee_id]", first_user: (current_user.username if current_user), current_user: "true", project_id: @project.id, null_user: "true", null_user_default: "true" },
":data-issuable-id" => "issue.id",
+ ":data-selected" => "assigneeId",
":data-issue-update" => "'#{namespace_project_issues_path(@project.namespace, @project)}/' + issue.id + '.json'" }
Select assignee
= icon("chevron-down")