1
0
mirror of https://github.com/lana-k/sqliteviz.git synced 2025-12-07 02:28:54 +08:00

move run button to the menu

This commit is contained in:
lana-k
2020-11-04 22:18:04 +01:00
parent 1037185a6a
commit 3e52dcac2c
3 changed files with 12 additions and 21 deletions

View File

@@ -5,6 +5,14 @@
<router-link to="/my-queries">My queries</router-link>
</div>
<div>
<button
v-if="$store.state.tabs.length > 0"
class="primary"
:disabled="currentQuery && !$store.state.schema || !currentQuery.query"
@click="currentQuery.execute"
>
Run
</button>
<button
v-if="$store.state.tabs.length > 0"
class="primary"