MT#64432 Enxtract include: customer param

Change-Id: I8e42f80835407309beb95a415874291372cfc2f7
(cherry picked from commit a1c595e1cf)
mr14.0
Debora Crescenzo 4 months ago committed by Crescenzo Debora
parent c8ad07098e
commit dd5960db85

@ -229,7 +229,6 @@ export default {
async fetchPaginatedRegistrations (props) { async fetchPaginatedRegistrations (props) {
const { page, rowsPerPage, sortBy, descending } = props.pagination const { page, rowsPerPage, sortBy, descending } = props.pagination
await this.loadPhonebook({ await this.loadPhonebook({
include: 'customer',
subscriber_id: this.getSubscriberId, subscriber_id: this.getSubscriberId,
page, page,
rows: rowsPerPage, rows: rowsPerPage,

@ -50,6 +50,7 @@ export default {
async loadPhonebook ({ commit }, options) { async loadPhonebook ({ commit }, options) {
try { try {
const list = await getPhonebook({ const list = await getPhonebook({
include: 'customer',
...options ...options
}) })
commit('setPhonebookRows', list.items || []) commit('setPhonebookRows', list.items || [])

Loading…
Cancel
Save