From 89cf6ba32c7a4b24cd0ea4d358e56e1d859d4665 Mon Sep 17 00:00:00 2001 From: m4ximuel <54457152+m4ximuel@users.noreply.github.com> Date: Sat, 3 Apr 2021 17:46:46 +0900 Subject: [PATCH] fix: always fetch full data (more reliable) --- src/store/mutations.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/store/mutations.js b/src/store/mutations.js index 37273d4b11..ba84055497 100644 --- a/src/store/mutations.js +++ b/src/store/mutations.js @@ -53,8 +53,7 @@ export default { state.authenticated = payload }, updateMainData: async state => { - const rid = state.rid ? state.rid : undefined - const res = await qbit.getMainData(rid) + const res = await qbit.getMainData(undefined) // status state.status = new Status(res.data.server_state, res.data.tags)