فهرست منبع

Fixed sql highlighting

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