Improve 404 check on item detail page

This commit is contained in:
rijkvanzanten
2021-12-03 16:11:33 -05:00
parent a8c950ab92
commit 00a2be9187

View File

@@ -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">