mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-10 18:23:50 +00:00
disable config actions contextually
This commit is contained in:
parent
53a8e988f8
commit
af50b74a95
|
@ -42,10 +42,14 @@
|
|||
>{{ config.name }}</b-dropdown-item
|
||||
>
|
||||
</b-dropdown>
|
||||
<b-button @click="pairlistStore.saveConfig()"
|
||||
<b-button :disabled="!pairlistStore.config.name" @click="pairlistStore.saveConfig()"
|
||||
><i-mdi-content-save class="fs-4"
|
||||
/></b-button>
|
||||
<b-button @click="pairlistStore.newConfig()"><i-mdi-plus class="fs-4" /></b-button>
|
||||
<b-button
|
||||
:disabled="pairlistStore.config.pairlists.length == 0"
|
||||
@click="pairlistStore.newConfig()"
|
||||
><i-mdi-plus class="fs-4"
|
||||
/></b-button>
|
||||
</template>
|
||||
|
||||
<b-form-input v-model="pairlistStore.config.name" placeholder="Configuration name..." />
|
||||
|
|
Loading…
Reference in New Issue
Block a user