bx-1379-redesign #15
|
@ -6,8 +6,9 @@ import { usePromoScene } from '../../stores/promo_scene';
|
|||
|
||||
const sidebar = usePromoSidebar()
|
||||
const sidebar_scene = usePromoScene()
|
||||
const sidebar_obj = ref()
|
||||
const route = useRoute()
|
||||
|
||||
const sidebar_obj = ref()
|
||||
const opened_desc = ref()
|
||||
|
||||
const openedChange = () => {
|
||||
|
@ -79,7 +80,9 @@ const toggleAccordion = (name: string) => {
|
|||
v-for="p in (sidebar.description || sidebar_scene.description || '').replace(/(\n|\r)+/g, '\n').split('\n')">
|
||||
<p>{{ p }}</p>
|
||||
</template>
|
||||
|
||||
<RouterLink :to="`/${route.params.item}/${sidebar.target}`" v-if="sidebar.target">
|
||||
Перейти
|
||||
</RouterLink>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue