Skip to content

Commit

Permalink
fix: changed flow lookup for schema select in hooks popup [WTEL-4281]
Browse files Browse the repository at this point in the history
  • Loading branch information
lizacoma committed Mar 20, 2024
1 parent 4d1d474 commit 93d58ff
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -93,7 +94,7 @@ export default {
methods: {
loadFlowOptions(params) {
return FlowsAPI.getLookup(params);
return FlowsAPI.getLookup({ ...params, type: [EngineRoutingSchemaType.Service] });
},
},
};
Expand Down

0 comments on commit 93d58ff

Please sign in to comment.