Skip to content

Commit 373f486

Browse files
committed
fix: check server content only var
1 parent 0632594 commit 373f486

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

app/pages/package/[[org]]/[name].vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,7 @@ const hasServerContentOnly = shallowRef(hasEmptyPayload && nuxtApp.payload.path
270270
watch(
271271
[
272272
() => hasEmptyPayload,
273+
() => hasServerContentOnly.value,
273274
() => isSpaFallback.value,
274275
() => isHydratingWithServerContent.value,
275276
() => status.value,
@@ -280,6 +281,7 @@ watch(
280281
],
281282
([
282283
hasEmptyPayloadArg,
284+
hasServerContentOnlyArg,
283285
isSpaFallbackArg,
284286
isHydratingWithServerContentArg,
285287
statusArg,
@@ -290,6 +292,7 @@ watch(
290292
]) => {
291293
console.log('main bunch', {
292294
hasEmptyPayloadArg,
295+
hasServerContentOnlyArg,
293296
isSpaFallbackArg,
294297
isHydratingWithServerContentArg,
295298
statusArg,

0 commit comments

Comments
 (0)