summaryrefslogtreecommitdiff
path: root/app/views/projects
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-07-03 07:45:02 +0000
committerPhil Hughes <me@iamphill.com>2017-07-03 07:45:02 +0000
commit4eb6b7c13755a8f73508f290f8f869cf05a15271 (patch)
tree4d6b77ceb49da285f8a810b63606faf391fd191b /app/views/projects
parentb071317c01866ac13802052ddbf4cf0aae2b043a (diff)
parenta080aa13a86cd0bfc11c728d9999deeafaa0a5d0 (diff)
downloadgitlab-ce-4eb6b7c13755a8f73508f290f8f869cf05a15271.tar.gz
Merge branch '34097-issue-board-remove-from-board-button-when-viewing-an-issue-gives-js-error-and-fails' into 'master'
Resolve "Issue Board -> "Remove from board" button when viewing an issue gives js error and fails" Closes #34097 See merge request !12430
Diffstat (limited to 'app/views/projects')
-rw-r--r--app/views/projects/boards/components/_sidebar.html.haml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/projects/boards/components/_sidebar.html.haml b/app/views/projects/boards/components/_sidebar.html.haml
index 24d76da6f06..09d70f658a3 100644
--- a/app/views/projects/boards/components/_sidebar.html.haml
+++ b/app/views/projects/boards/components/_sidebar.html.haml
@@ -23,4 +23,5 @@
= render "projects/boards/components/sidebar/labels"
= render "projects/boards/components/sidebar/notifications"
%remove-btn{ ":issue" => "issue",
- ":list" => "list" }
+ ":list" => "list",
+ "v-if" => "canRemove" }