From ddabd0ee75f40d120986d4b2227d193780123001 Mon Sep 17 00:00:00 2001 From: advplyr Date: Sat, 7 Jan 2023 15:31:51 -0600 Subject: [PATCH] Update:Library folder browser to not save folders from request #1371 --- client/store/libraries.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/store/libraries.js b/client/store/libraries.js index a2e34d78..15a9fa36 100644 --- a/client/store/libraries.js +++ b/client/store/libraries.js @@ -70,8 +70,8 @@ export const actions = { }, loadFolders({ state, commit }) { if (state.folders.length) { - var lastCheck = Date.now() - state.folderLastUpdate - if (lastCheck < 1000 * 60 * 10) { // 10 minutes + const lastCheck = Date.now() - state.folderLastUpdate + if (lastCheck < 1000 * 5) { // 5 seconds // Folders up to date return state.folders }