mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Improve 404 check on item detail page
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<content-not-found
|
<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">
|
<private-view v-else :title="title">
|
||||||
|
|||||||
Reference in New Issue
Block a user