From 5d918fdeb6c8267f6ce0fb6d740862a91373cc2c Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Tue, 15 Aug 2023 12:08:59 +0530 Subject: [PATCH] fix: do not cache Leads list - will need a better fix for this since filter is not working properly with cache --- frontend/src/pages/Contacts.vue | 2 +- frontend/src/pages/Deals.vue | 2 +- frontend/src/pages/Leads.vue | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/frontend/src/pages/Contacts.vue b/frontend/src/pages/Contacts.vue index f9603473..b203a096 100644 --- a/frontend/src/pages/Contacts.vue +++ b/frontend/src/pages/Contacts.vue @@ -58,7 +58,7 @@ const contacts = createListResource({ fields: ['name', 'full_name', 'image', 'email_id', 'phone'], orderBy: 'full_name asc', cache: 'Contacts', - pageLength: 999, + pageLength: 20, auto: true, }) diff --git a/frontend/src/pages/Deals.vue b/frontend/src/pages/Deals.vue index 41cfdcf5..08234068 100644 --- a/frontend/src/pages/Deals.vue +++ b/frontend/src/pages/Deals.vue @@ -34,7 +34,7 @@