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

Fixed tests because of nil array

parent ab93ea04
...@@ -46,9 +46,10 @@ ...@@ -46,9 +46,10 @@
.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"
.gray-content-block.second-block.filtered-labels{ class: ("hidden" if !@labels.any?) } - if !@labels.nil?
- if @labels.any? .gray-content-block.second-block.filtered-labels{ class: ("hidden" if !@labels.any?) }
= render "shared/labels_row", labels: @labels - if @labels.any?
= render "shared/labels_row", labels: @labels
:javascript :javascript
new UsersSelect(); new UsersSelect();
......
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