diff --git a/src/pages/CscPageSubscriberPhonebook.vue b/src/pages/CscPageSubscriberPhonebook.vue index 294eeda6..1d868987 100644 --- a/src/pages/CscPageSubscriberPhonebook.vue +++ b/src/pages/CscPageSubscriberPhonebook.vue @@ -229,7 +229,6 @@ export default { async fetchPaginatedRegistrations (props) { const { page, rowsPerPage, sortBy, descending } = props.pagination await this.loadPhonebook({ - include: 'customer', subscriber_id: this.getSubscriberId, page, rows: rowsPerPage, @@ -313,7 +312,6 @@ export default { rows: this.pagination.rowsPerPage, order_by: this.pagination.sortBy, order_by_direction: this.pagination.descending ? 'desc' : 'asc', - include: 'customer', subscriber_id: this.getSubscriberId }) } diff --git a/src/store/subscriber-phonebook.js b/src/store/subscriber-phonebook.js index fb44d6ee..bbba0df6 100644 --- a/src/store/subscriber-phonebook.js +++ b/src/store/subscriber-phonebook.js @@ -50,6 +50,7 @@ export default { async loadPhonebook ({ commit }, options) { try { const list = await getPhonebook({ + include: 'customer', ...options }) commit('setPhonebookRows', list.items || [])