Skip to content

Commit d79e146

Browse files
committed
fix(nuxt): add back missing reset of .execute
1 parent dc7ef15 commit d79e146

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/nuxt/src/app/composables/asyncData.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -713,6 +713,7 @@ function createAsyncData<
713713
// TODO: disable in v4 in favour of custom caching strategies
714714
if (purgeCachedData && !hasCustomGetCachedData) {
715715
clearNuxtDataByKey(nuxtApp, key)
716+
asyncData.execute = () => Promise.resolve()
716717
}
717718
},
718719
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy