Commit 8bc8e01f authored by Eric Eastwood's avatar Eric Eastwood Committed by Shinya Maeda

Remove unncessary if-statement, thanks @zj

parent bbbd5521
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
%label.label-light %label.label-light
#{ _('Variables') } #{ _('Variables') }
%ul.js-pipeline-variable-list.pipeline-variable-list %ul.js-pipeline-variable-list.pipeline-variable-list
- if @schedule.variables.present?
- @schedule.variables.each_with_index do |variable, i| - @schedule.variables.each_with_index do |variable, i|
= render 'variable_row', id: variable.id, key: variable.key, value: variable.value = render 'variable_row', id: variable.id, key: variable.key, value: variable.value
= render 'variable_row' = render 'variable_row'
......
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