diff --git a/app/javascript/dashboard/components/widgets/conversation/ConversationHeader.vue b/app/javascript/dashboard/components/widgets/conversation/ConversationHeader.vue index e3d0e9d39..a00e3233c 100644 --- a/app/javascript/dashboard/components/widgets/conversation/ConversationHeader.vue +++ b/app/javascript/dashboard/components/widgets/conversation/ConversationHeader.vue @@ -26,11 +26,7 @@ export default { props: { chat: { type: Object, - default: () => {}, - }, - isContactPanelOpen: { - type: Boolean, - default: false, + default: () => { }, }, showBackButton: { type: Boolean, @@ -41,15 +37,7 @@ export default { default: false, }, }, - emits: ['contactPanelToggle'], - setup(props, { emit }) { - const keyboardEvents = { - 'Alt+KeyO': { - action: () => emit('contactPanelToggle'), - }, - }; - useKeyboardEvents(keyboardEvents); - }, + computed: { ...mapGetters({ currentChat: 'getSelectedChat', @@ -174,7 +162,6 @@ export default {