summaryrefslogtreecommitdiff
path: root/app/views/projects/boards/components/sidebar/_labels.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/boards/components/sidebar/_labels.html.haml')
-rw-r--r--app/views/projects/boards/components/sidebar/_labels.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/boards/components/sidebar/_labels.html.haml b/app/views/projects/boards/components/sidebar/_labels.html.haml
index 0e2ea74ec41..a6d2c3c300c 100644
--- a/app/views/projects/boards/components/sidebar/_labels.html.haml
+++ b/app/views/projects/boards/components/sidebar/_labels.html.haml
@@ -5,7 +5,7 @@
- if can?(current_user, :admin_issue, @project)
= link_to "Edit", "#", class: "edit-link pull-right"
.value.issuable-show-labels
- %span.no-value{ "v-if" => "issue.labels.length === 0" }
+ %span.no-value{ "v-if" => "issue.labels && issue.labels.length === 0" }
None
%a{ href: "#",
"v-for" => "label in issue.labels" }