Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions adminforth/spa/src/components/BreadcrumbsWithButtons.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,21 @@
</div>
<div class="flex items-center justify-between mb-3 flex-wrap gap-y-2 gap-2" v-if="coreStore.resourceColumnsError">
<div class="p-4 mb-4 text-sm text-red-800 rounded-lg bg-red-50 dark:bg-gray-800 dark:text-red-400" role="alert">
<span class="font-medium">{{ $t('Error!')}}</span> {{ coreStore.resourceColumnsError }}
<span class="font-medium">{{ $t('Error!') }}</span>
{{ coreStore.resourceColumnsError }}
</div>
</div>

<div class="absolute inset-0 z-50 bg-white " v-if="coreStore.resourceColumnsError?.includes('not found')">
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<PageNotFound />
</div>
</div>

</template>

<script setup>
import Breadcrumbs from '@/components/Breadcrumbs.vue';
import Breadcrumbs from '@/components/Breadcrumbs.vue';
import PageNotFound from '@/views/PageNotFound.vue';

import { useCoreStore } from '@/stores/core';

Expand Down