Commit 490f7731 authored by Phil Hughes's avatar Phil Hughes

Fixed tests because of nil array

parent ab93ea04
...@@ -46,6 +46,7 @@ ...@@ -46,6 +46,7 @@
.filter-item.inline .filter-item.inline
= button_tag "Update issues", class: "btn update_selected_issues btn-save" = button_tag "Update issues", class: "btn update_selected_issues btn-save"
- if !@labels.nil?
.gray-content-block.second-block.filtered-labels{ class: ("hidden" if !@labels.any?) } .gray-content-block.second-block.filtered-labels{ class: ("hidden" if !@labels.any?) }
- if @labels.any? - if @labels.any?
= render "shared/labels_row", labels: @labels = render "shared/labels_row", labels: @labels
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment