chatwoot-develop/app/javascript/dashboard/routes/dashboard/captain/assistants/playground/Index.vue
2026-01-12 19:04:15 -03:00

26 lines
770 B
Vue
Executable File

<script setup>
import { computed } from 'vue';
import { useRoute } from 'vue-router';
import PageLayout from 'dashboard/components-next/captain/PageLayout.vue';
import AssistantPlayground from 'dashboard/components-next/captain/assistant/AssistantPlayground.vue';
const route = useRoute();
const assistantId = computed(() => Number(route.params.assistantId));
</script>
<template>
<!-- eslint-disable vue/no-bare-strings-in-template -->
<PageLayout
show-assistant-switcher
:show-pagination-footer="false"
:show-know-more="false"
class="h-full"
>
<template #body>
<div class="flex flex-col h-full">
<AssistantPlayground :assistant-id="assistantId" class="bg-n-solid-1" />
</div>
</template>
</PageLayout>
</template>