Skip to content

Commit

Permalink
chore: manufacturer cache
Browse files Browse the repository at this point in the history
  • Loading branch information
mkucmus committed Jan 27, 2025
1 parent 5598dec commit d206f62
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,12 @@ const { apiClient } = useShopwareContext();
const errorDetails = ref();
const { data, error } = await useAsyncData(
`cmsNavigation${props.navigationId}-${JSON.stringify(route.query || {})}`,
`cmsNavigation${props.navigationId}-${route.query?.manufacturer || "empty"}`,
async () => {
console.warn("useAsyncData", route.query);
console.warn(
"useAsyncData",
`cmsNavigation${props.navigationId}-${route.query?.manufacturer || "empty"}`,
);
const responses = await Promise.allSettled([
search(props.navigationId, {
withCmsAssociations: true,
Expand Down

0 comments on commit d206f62

Please sign in to comment.