diff --git a/app/javascript/dashboard/components/widgets/DashboardApp/Frame.vue b/app/javascript/dashboard/components/widgets/DashboardApp/Frame.vue index 03b1f5d5e..c1db1ad4d 100644 --- a/app/javascript/dashboard/components/widgets/DashboardApp/Frame.vue +++ b/app/javascript/dashboard/components/widgets/DashboardApp/Frame.vue @@ -46,11 +46,16 @@ export default { return { conversation: this.currentChat, contact: this.$store.getters['contacts/getContact'](this.contactId), + currentAgent: this.currentAgent, }; }, contactId() { return this.currentChat?.meta?.sender?.id; }, + currentAgent() { + const { id, name, email } = this.$store.getters.getCurrentUser; + return { id, name, email }; + }, }, mounted() {