diff --git a/app/javascript/dashboard/components-next/copilot/Copilot.vue b/app/javascript/dashboard/components-next/copilot/Copilot.vue index 5feb474a6..f0862eae2 100644 --- a/app/javascript/dashboard/components-next/copilot/Copilot.vue +++ b/app/javascript/dashboard/components-next/copilot/Copilot.vue @@ -10,6 +10,7 @@ import CopilotAgentMessage from './CopilotAgentMessage.vue'; import CopilotAssistantMessage from './CopilotAssistantMessage.vue'; import ToggleCopilotAssistant from './ToggleCopilotAssistant.vue'; import Icon from '../icon/Icon.vue'; +import Button from '../button/Button.vue'; const props = defineProps({ supportAgent: { @@ -38,7 +39,7 @@ const props = defineProps({ }, }); -const emit = defineEmits(['sendMessage', 'reset', 'setAssistant']); +const emit = defineEmits(['sendMessage', 'reset', 'setAssistant', 'close']); const { t } = useI18n(); @@ -93,6 +94,23 @@ watch(