This commit is contained in:
aarizona 2024-08-28 22:32:34 +03:00
parent c17bcc6d2a
commit 857f3f0c03
1 changed files with 5 additions and 2 deletions

View File

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