Rename refreshAll to refreshFull

This commit is contained in:
Matthias 2021-08-29 15:52:57 +02:00
parent 44654abdfe
commit ea71dcc190
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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;
}