Fix bookmarks not routing

This commit is contained in:
rijkvanzanten
2020-09-03 18:02:48 -04:00
parent 2ae9be8f06
commit 54862fde5e

View File

@@ -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();