mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-01 19:48:08 +00:00
28 lines
794 B
Vue
28 lines
794 B
Vue
<script setup>
|
|
import AssistantCard from './AssistantCard.vue';
|
|
import { assistantsList } from 'dashboard/components-next/captain/pageComponents/emptyStates/captainEmptyStateContent.js';
|
|
</script>
|
|
|
|
<template>
|
|
<Story
|
|
title="Captain/Assistant/AssistantCard"
|
|
:layout="{ type: 'grid', width: '700px' }"
|
|
>
|
|
<Variant title="Assistant Card">
|
|
<div
|
|
v-for="(assistant, index) in assistantsList"
|
|
:key="index"
|
|
class="px-20 py-4 bg-n-background"
|
|
>
|
|
<AssistantCard
|
|
:id="assistant.id"
|
|
:name="assistant.name"
|
|
:description="assistant.description"
|
|
:updated-at="assistant.updated_at || assistant.created_at"
|
|
:created-at="assistant.created_at"
|
|
/>
|
|
</div>
|
|
</Variant>
|
|
</Story>
|
|
</template>
|