mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-23 11:35:14 +00:00
Rename refreshAll to refreshFull
This commit is contained in:
parent
44654abdfe
commit
ea71dcc190
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<div class="d-flex flex-align-center">
|
||||
<b-button class="m-1 mr-3" variant="secondary" size="sm" @click="refreshAll(true)">
|
||||
<b-button class="m-1 mr-3" variant="secondary" size="sm" @click="refreshFull(true)">
|
||||
<RefreshIcon :size="16" />
|
||||
</b-button>
|
||||
|
||||
|
@ -30,7 +30,7 @@ export default class ReloadControl extends Vue {
|
|||
created() {
|
||||
if (this.loggedIn) {
|
||||
this.refreshOnce();
|
||||
this.refreshAll(true);
|
||||
this.refreshFull(true);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -50,7 +50,7 @@ export default class ReloadControl extends Vue {
|
|||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
@ftbot.Action setAutoRefresh!: (newValue: boolean) => void;
|
||||
|
||||
@ftbot.Action refreshAll;
|
||||
@ftbot.Action refreshFull;
|
||||
|
||||
@ftbot.Action refreshOnce;
|
||||
|
||||
|
|
|
@ -147,7 +147,7 @@ export default function createBotStore(store) {
|
|||
}
|
||||
localStorage.setItem(AUTO_REFRESH, JSON.stringify(newRefreshValue));
|
||||
},
|
||||
async refreshAll({ dispatch, state, commit }, forceUpdate = false) {
|
||||
async refreshFull({ dispatch, state, commit }, forceUpdate = false) {
|
||||
if (state.refreshing) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user