MT#57605 Remove username indication in registered devices

This commit partially revert b9c132080

Username was get as expansion of the subscriber_id during the
API calll that gets the subscriber's registrations.
In case of simple subscriber, not admin, this feature is not
supported and not implemented in the API.

Change-Id: I930b3f3935a4cf9618d030fb9868ac52120fafbb
mr11.4
Marco Capetta 3 years ago
parent b9c1320803
commit 7e58437438

@ -85,14 +85,6 @@ export default {
field: row => row.id,
sortable: true
},
{
name: 'username',
required: true,
label: this.$t('Username'),
align: 'left',
field: row => row.subscriber_id_expand.username,
sortable: true
},
{
name: 'user_agent',
required: true,

@ -389,7 +389,7 @@ export default {
async loadSubscriberRegistrations ({ commit, dispatch, state, rootGetters }, options) {
try {
const list = await getSubscriberRegistrations({
...options, ...{ expand: 'subscriber_id' }
...options
})
commit('setSubscriberRegistrations', list.items)
return list.totalCount

Loading…
Cancel
Save