From 7a851ee8c5bda000ae6e7ad62dacf5cd3529d4ba Mon Sep 17 00:00:00 2001 From: volodymyr Date: Fri, 10 May 2024 18:14:47 +0300 Subject: [PATCH] fix: queue members routes fixed [WTEL-4342] --- .../queues/modules/members/components/the-queue-members.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/modules/contact-center/modules/queues/modules/members/components/the-queue-members.vue b/src/modules/contact-center/modules/queues/modules/members/components/the-queue-members.vue index 463c7699c..5e191e5ec 100644 --- a/src/modules/contact-center/modules/queues/modules/members/components/the-queue-members.vue +++ b/src/modules/contact-center/modules/queues/modules/members/components/the-queue-members.vue @@ -203,6 +203,7 @@ import { mapActions, mapGetters, mapState } from 'vuex'; import tableComponentMixin from '../../../../../../../app/mixins/objectPagesMixins/objectTableMixin/tableComponentMixin'; import RouteNames from '../../../../../../../app/router/_internals/RouteNames.enum'; +import QueueTypeProperties from '../../../lookups/QueueTypeProperties.lookup.js'; import TheQueueMembersFilters from '../modules/filters/components/the-queue-members-filters.vue'; import destinationsPopup from './communications/opened-queue-member-destinations-popup.vue'; import ResetPopup from './reset-members-popup.vue'; @@ -269,8 +270,11 @@ export default { isNotInboundMember() { return !(this.parentQueue.type === 1); }, + queueType() { + return QueueTypeProperties[this.parentQueue.type].subpath; + }, path() { - const queueUrl = `/contact-center/queues/${this.parentQueue.id}`; + const queueUrl = `/contact-center/queues/${this.parentQueue.id}/${this.queueType}`; const membersUrl = `/contact-center/queues/${this.parentQueue.id}/members`; return [ { name: this.$t('objects.ccenter.ccenter') },