Commit 71267cba authored by Kathleen Tam's avatar Kathleen Tam

Fix the url array issue

parent 6cf397f8
Pipeline #119837480 failed with stages
in 11 minutes and 18 seconds
......@@ -11,7 +11,9 @@
<% end %>
<% if performance_indicator.sisense_url %>
<b>Sisense URL</b>(<a href="<%= performance_indicator.sisense_url %>">Sisense↗</a>)
<b>Sisense URL</b><% performance_indicator.sisense_url.each do |url| %>
<a href="<%= url %>">Sisense↗</a>
<% end %>
<% end %>
<% if performance_indicator.sisense_data %>
......
......@@ -6,8 +6,9 @@
<% if kpi.sisense_data %>
<a href="https://app.periscopedata.com/app/gitlab/<%= kpi.sisense_data.dashboard %>/?widget=<%= kpi.sisense_data.chart %>">📊</a>
<% elsif kpi.sisense_url %>
<a href="<%= kpi.sisense_url %>">🔗</a>
<% end %>
<% kpi.sisense_url.each do |url| %>
<a href="<%= url %>">🔗</a>
<% end %>
</li>
<% end %>
</ol>
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