Andrew Kane пре 8 година
родитељ
комит
624b75a50e
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      app/views/blazer/queries/show.html.erb

+ 1 - 1
app/views/blazer/queries/show.html.erb

@@ -172,7 +172,7 @@
   </script>
 <% end %>
 
-<% if Blazer.data_sources[@query.data_source].adapter == "sql" %>
+<% if %w[sql presto].include?(Blazer.data_sources[@query.data_source].adapter) %>
   <script>
     // do not highlight really long queries
     // this can lead to performance issues