Skip to content

Commit 0f7f962

Browse files
committed
fix: show 404 page when recource wrong
1 parent aa4ae8d commit 0f7f962

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adminforth/spa/src/components/BreadcrumbsWithButtons.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</div>
1414
</div>
1515

16-
<div class="absolute inset-0 z-50 bg-white " v-if="coreStore.resourceColumnsError?.includes('not found')">
16+
<div class="absolute inset-0 z-50 bg-white " v-if="!coreStore.resource && !coreStore.isResourceFetching">
1717
<PageNotFound />
1818
</div>
1919
</div>

0 commit comments

Comments
 (0)