Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: queue members routes fixed [WTEL-4342] #663

Merged
merged 1 commit into from
May 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -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') },
Expand Down
Loading