mirror of
https://github.com/directus/directus.git
synced 2026-01-27 21:17:56 -05:00
Fix bookmarks not routing
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
<template>
|
||||
<component ref="component" :is="isSingle ? 'collections-detail' : 'collections-browse'" :collection="collection" />
|
||||
<component
|
||||
ref="component"
|
||||
:bookmark="bookmark"
|
||||
:is="isSingle ? 'collections-detail' : 'collections-browse'"
|
||||
:collection="collection"
|
||||
/>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
@@ -19,6 +24,10 @@ export default defineComponent({
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
bookmark: {
|
||||
type: String,
|
||||
default: null,
|
||||
},
|
||||
},
|
||||
setup(props) {
|
||||
const collectionsStore = useCollectionsStore();
|
||||
|
||||
Reference in New Issue
Block a user