mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Only pass singleton prop in CollectionOrItem component when necessary (#15570)
* Disable attribute inheritance for layout wrapper * only pass singleton prop when necessary
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
:is="isSingleton ? 'item-route' : 'collection-route'"
|
||||
:collection="collection"
|
||||
:bookmark="bookmark"
|
||||
:singleton="isSingleton"
|
||||
:archive="archive"
|
||||
v-bind="isSingleton ? { singleton: isSingleton } : {}"
|
||||
/>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user