mirror of
https://github.com/lana-k/sqliteviz.git
synced 2025-12-07 02:28:54 +08:00
Fix wrong trigger of autocomplete #15
This commit is contained in:
@@ -6,15 +6,15 @@
|
||||
</div>
|
||||
<div>
|
||||
<button
|
||||
v-if="$store.state.tabs.length > 0"
|
||||
v-if="currentQuery"
|
||||
class="primary"
|
||||
:disabled="currentQuery && !$store.state.schema || !currentQuery.query"
|
||||
:disabled="currentQuery && (!$store.state.schema || !currentQuery.query)"
|
||||
@click="currentQuery.execute"
|
||||
>
|
||||
Run
|
||||
</button>
|
||||
<button
|
||||
v-if="$store.state.tabs.length > 0"
|
||||
v-if="currentQuery"
|
||||
class="primary"
|
||||
:disabled="currentQuery && !currentQuery.isUnsaved"
|
||||
@click="checkQueryBeforeSave"
|
||||
|
||||
Reference in New Issue
Block a user