From 083917e34fb2d9a144b68509fd2b7df36bb0ca26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=90=8C=E8=90=8C=E5=93=92=E8=B5=AB=E8=90=9D?= Date: Sat, 12 Aug 2023 07:08:46 -0700 Subject: [PATCH] :bug: Fix: fix an issue related with layout style --- src/renderer/manage/pages/bucketPage.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/manage/pages/bucketPage.vue b/src/renderer/manage/pages/bucketPage.vue index 6724968..8061a6d 100644 --- a/src/renderer/manage/pages/bucketPage.vue +++ b/src/renderer/manage/pages/bucketPage.vue @@ -2133,7 +2133,7 @@ async function resetParam (force: boolean = false) { previewedImage.value = '' isShowFileInfo.value = false lastChoosed.value = -1 - layoutStyle.value = manageStore.config.settings.isShowList ? 'list' : 'grid' + layoutStyle.value = await getConfig('settings.isShowList') ? 'list' : 'grid' if (!isAutoRefresh.value && !force && !paging.value) { const cachedData = await searchExistFileList() if (cachedData.length > 0) {