Skip to content

Commit 07e90cc

Browse files
committed
fix: no black page on loader fetch
1 parent b09b97d commit 07e90cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/components-vue/src/components/loader/ContentFetch.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<BaseErrorBoundary :theme="theme">
33
<LoaderContent
44
v-bind="{
5-
content: !!content && patchedIsContent(content),
5+
content: !!content && patchedIsContent(content) && firstLoad,
66
errors,
77
loading: loading,
88
refresh,
@@ -17,7 +17,7 @@
1717
:class="$attrs.class"
1818
>
1919
<slot
20-
v-if="!!content && patchedIsContent(content) && (!loading || firstLoad)"
20+
v-if="!!content && patchedIsContent(content) && firstLoad"
2121
v-bind="{ content, refresh, loading, errors }"
2222
></slot>
2323
</LoaderContent>

0 commit comments

Comments
 (0)