mirror of
https://github.com/directus/directus.git
synced 2026-01-29 14:07:57 -05:00
Improve 404 check on item detail page
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<content-not-found
|
||||
v-if="error || (collectionInfo.meta && collectionInfo.meta.singleton === true && primaryKey !== null)"
|
||||
v-if="error || !collectionInfo || (collectionInfo?.meta?.singleton === true && primaryKey !== null)"
|
||||
/>
|
||||
|
||||
<private-view v-else :title="title">
|
||||
|
||||
Reference in New Issue
Block a user