diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-09-27 00:06:46 +0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-10-19 19:58:24 +0300 |
commit | ae88126d13d05ea040af495d77dcd1a84253d282 (patch) | |
tree | 65478e84dfd5cbba933b5913830353ffc7159994 /app/views/shared/issuable/_sidebar.html.haml | |
parent | 8522ef44bf4298a750d352ff17832b3f4fc6756d (diff) |
Show labels widget on issuable sidebar if project has only group labels
Diffstat (limited to 'app/views/shared/issuable/_sidebar.html.haml')
-rw-r--r-- | app/views/shared/issuable/_sidebar.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/issuable/_sidebar.html.haml b/app/views/shared/issuable/_sidebar.html.haml index ba9f0c27661..7363ead09ff 100644 --- a/app/views/shared/issuable/_sidebar.html.haml +++ b/app/views/shared/issuable/_sidebar.html.haml @@ -107,7 +107,7 @@ = dropdown_content do .js-due-date-calendar - - if issuable.project.labels.any? + - if @labels && @labels.any? - selected_labels = issuable.labels .block.labels .sidebar-collapsed-icon.js-sidebar-labels-tooltip{ title: issuable_labels_tooltip(issuable.labels_array), data: { placement: "left", container: "body" } } |