From 4a466f9aa05d383648bcfa329080c1adbbfaabc9 Mon Sep 17 00:00:00 2001 From: davelopez <46503462+davelopez@users.noreply.github.com> Date: Fri, 22 Mar 2024 11:43:09 +0100 Subject: [PATCH] Reduce redundant detailed history load The current history details will be loaded by the history watcher anyway. --- client/src/stores/userStore.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/client/src/stores/userStore.ts b/client/src/stores/userStore.ts index 26783f6609f..10b9fdf11fc 100644 --- a/client/src/stores/userStore.ts +++ b/client/src/stores/userStore.ts @@ -67,7 +67,6 @@ export const useUserStore = defineStore("userStore", () => { } if (includeHistories) { const historyStore = useHistoryStore(); - await historyStore.loadCurrentHistory(); // load first few histories for user to start pagination await historyStore.loadHistories(); }