Restore seller dropdown filter
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 46s

This commit is contained in:
Cauê Faleiros
2026-06-24 11:42:30 -03:00
parent aeb801c0ba
commit b40f6fa23f
2 changed files with 11 additions and 25 deletions

View File

@@ -223,7 +223,7 @@ export const fetchClientFilterOptions = async (dateRange: DateRange, options?: C
const path = `/analytics/clients/filters?${buildDateRangeParams(dateRange).toString()}`;
return getCachedAnalytics(path, async () => {
try {
const response = await authFetch(path);
const response = await authFetch(path, options?.force ? { cache: 'no-store' } : {});
if (!response.ok) return { marketplaces: [], salesChannels: [], sellers: [] };
return await response.json();
} catch (error) {