fix: Fix typo in conversationStats/get (#11201)

This commit is contained in:
Shivam Mishra 2025-03-28 09:58:22 +05:30 committed by GitHub
parent 21fbed32eb
commit 91fa68bbb5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,8 +29,8 @@ const debouncedFetchMetaData = debounce(fetchMetaData, 500, false, 1000);
const longDebouncedFetchMetaData = debounce(fetchMetaData, 500, false, 5000);
export const actions = {
get: async ({ commit, store: $store }, params) => {
if ($store.allCount > 100) {
get: async ({ commit, state: $state }, params) => {
if ($state.allCount > 100) {
longDebouncedFetchMetaData(commit, params);
} else {
debouncedFetchMetaData(commit, params);