mirror of
https://github.com/lana-k/sqliteviz.git
synced 2025-12-06 18:18:53 +08:00
disable Run button without schema
This commit is contained in:
@@ -11,7 +11,13 @@
|
||||
<codemirror v-model="query" :options="cmOptions" @changes="onCmChange" ref="codemirror" />
|
||||
</div>
|
||||
<div class="run-btn-container">
|
||||
<button class="primary run-btn" @click="execEditorContents">Run</button>
|
||||
<button
|
||||
class="primary run-btn"
|
||||
@click="execEditorContents"
|
||||
:disabled="!$store.state.schema"
|
||||
>
|
||||
Run
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<div slot="right-pane" id="bottomPane" ref="bottomPane">
|
||||
|
||||
Reference in New Issue
Block a user