web/src/App.vue in shiba-0.9.1 vs web/src/App.vue in shiba-0.9.2

- old
+ new

@@ -32,11 +32,11 @@ <div class="row"> <div class="col-12">We also found <a href="#" v-on:click.prevent="lowExpanded = !lowExpanded">{{ queriesLow.length }} queries</a> that look fine.</div> </div> <a name="lowExapnded"></a> <div class="queries" v-if="lowExpanded"> - <query v-for="query in queriesLow" v-bind:query="query" v-bind:key="query.sql" v-bind:tags="tags" v-bind:url="url"></query> + <query v-for="query in queriesLow" v-bind:query="query" v-bind:key="query.sql" v-bind:tags="tags" v-bind:url="url" v-bind:global="global"></query> </div> </div> <div style="height:50px"></div> </div> </div> @@ -88,10 +88,11 @@ name: 'app', data: () => ({ highQ: [], lowQ: [], tags: {}, + global: {}, lowExpanded: false, hasFuzzed: false, search: '', url: null }), @@ -110,9 +111,10 @@ }, methods: { setupData: function(data) { this.url = data.url; this.tags = data.tags; + this.global = data.global; Object.keys(this.tags).forEach((k) => { registerMessage(k, this.tags[k].title, this.tags[k].summary); }) categorizeQueries(this, data.queries);