瀏覽代碼

Fixed sorting issue with new dashboards

Andrew Kane 8 年之前
父節點
當前提交
ed45a887bc
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/views/blazer/dashboards/_form.html.erb

+ 1 - 1
app/views/blazer/dashboards/_form.html.erb

@@ -7,7 +7,7 @@
     <%= f.label :name %>
     <%= f.text_field :name, class: "form-control" %>
   </div>
-  <div class="form-group" v-if="queries.length">
+  <div class="form-group" v-show="queries.length">
     <%= f.label :charts %>
     <ul id="queries" class="list-group">
       <li class="list-group-item" v-for="(query, index) in queries" :key="query.id" v-cloak>