Skip to content

Business intelligence made simple

Fixed cache message

Andrew Kane627763c9bf07
diff --git a/app/views/blazer/dashboards/show.html.erb b/app/views/blazer/dashboards/show.html.erb
index 6862c50e..8f089a1d 100644
--- a/app/views/blazer/dashboards/show.html.erb
+++ b/app/views/blazer/dashboards/show.html.erb
@@ -32,7 +32,7 @@
<div style="margin-bottom: 60px;"></div>
-<% if @data_sources.any? { |ds| ds.cache } %>
+<% if @data_sources.any? { |ds| ds.cache_mode != "off" } %>
<p class="text-muted" style="float: right;">
Some queries are cached
<%= link_to "Refresh", refresh_dashboard_path(@dashboard, variable_params), method: :post %>