From 93d58ffbed531c45b5f28dc373a61cdbd67db777 Mon Sep 17 00:00:00 2001 From: lizacoma Date: Wed, 20 Mar 2024 18:58:32 +0200 Subject: [PATCH 1/2] fix: changed flow lookup for schema select in hooks popup [WTEL-4281] --- .../modules/hooks/components/opened-queue-hooks-popup.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/contact-center/modules/queues/modules/hooks/components/opened-queue-hooks-popup.vue b/src/modules/contact-center/modules/queues/modules/hooks/components/opened-queue-hooks-popup.vue index 60b9207fb..b4d184a26 100644 --- a/src/modules/contact-center/modules/queues/modules/hooks/components/opened-queue-hooks-popup.vue +++ b/src/modules/contact-center/modules/queues/modules/hooks/components/opened-queue-hooks-popup.vue @@ -52,6 +52,7 @@ import { required } from '@vuelidate/validators'; import nestedObjectMixin from '../../../../../../../app/mixins/objectPagesMixins/openedObjectMixin/nestedObjectMixin'; import FlowsAPI from '../../../../../../routing/modules/flow/api/flow'; import HookEvent from '../enum/HookEvent.enum'; +import { EngineRoutingSchemaType } from 'webitel-sdk'; export default { name: 'OpenedQueueHooksPopup', @@ -93,7 +94,7 @@ export default { methods: { loadFlowOptions(params) { - return FlowsAPI.getLookup(params); + return FlowsAPI.getLookup({ ...params, type: [EngineRoutingSchemaType.Service] }); }, }, }; From f40c36a2eb7b17bbeebf065cbf71ee6528082323 Mon Sep 17 00:00:00 2001 From: lizacoma Date: Wed, 20 Mar 2024 19:03:08 +0200 Subject: [PATCH 2/2] fix: changes after review [WTEL-4281] --- .../modules/hooks/components/opened-queue-hooks-popup.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/contact-center/modules/queues/modules/hooks/components/opened-queue-hooks-popup.vue b/src/modules/contact-center/modules/queues/modules/hooks/components/opened-queue-hooks-popup.vue index b4d184a26..6f263e9cf 100644 --- a/src/modules/contact-center/modules/queues/modules/hooks/components/opened-queue-hooks-popup.vue +++ b/src/modules/contact-center/modules/queues/modules/hooks/components/opened-queue-hooks-popup.vue @@ -47,12 +47,12 @@