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