From ea6dd12a65b96d955bf1ae80865f55d29b21d0f9 Mon Sep 17 00:00:00 2001 From: lizacoma Date: Wed, 27 Mar 2024 17:16:39 +0200 Subject: [PATCH] feature: fixes after review [WTEL-4246] --- .../components/opened-team-hooks-popup.vue | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/src/modules/contact-center/modules/teams/modules/hooks/components/opened-team-hooks-popup.vue b/src/modules/contact-center/modules/teams/modules/hooks/components/opened-team-hooks-popup.vue index 871050901..5957fbb06 100644 --- a/src/modules/contact-center/modules/teams/modules/hooks/components/opened-team-hooks-popup.vue +++ b/src/modules/contact-center/modules/teams/modules/hooks/components/opened-team-hooks-popup.vue @@ -80,18 +80,13 @@ export default { value: event, })); }, - event: { - get() { - const { event } = this.itemInstance; - return event ? { - name: this.$t(`objects.ccenter.teams.hooks.eventTypes.${this.snakeToCamel(event)}`), - value: event, - } : {}; - }, - set({ value }) { - this.setItemProp({ prop: 'event', value }); - }, - }, + event() { + const { event } = this.itemInstance; + return event ? { + name: this.$t(`objects.ccenter.teams.hooks.eventTypes.${this.snakeToCamel(event)}`), + value: event, + } : {}; + } }, methods: {