MT#58074 Allow the selection of all the aliases as cli

The subscriber administrator can now assign as CLI of each
seat all the aliases configured in the customer
and not only the ones assigned to the user itself.

Change-Id: Id9a06c62bd2512cb19b34181b3de0d2c2fb6ff09
mr12.0
Marco Capetta 2 years ago
parent f81267ebbe
commit e5b0fb35af

@ -509,14 +509,7 @@ export default {
},
getCliNumbersOptions () {
let cliOptions = []
const clis = [...this.seatSelected.alias_numbers]
clis.forEach((cli) => {
cliOptions.push({
label: cli.cc + cli.ac + cli.sn,
value: cli.cc + cli.ac + cli.sn
})
})
cliOptions = cliOptions.concat(this.getPrimaryNumberOptions())
cliOptions = cliOptions.concat(this.getFullNumberOptions())
return cliOptions
},
isLoading () {
@ -586,7 +579,7 @@ export default {
'resetSelectedSeat'
]),
...mapGetters('pbx', [
'getPrimaryNumberOptions',
'getFullNumberOptions',
'numbers'
]),
selectTab (tabName) {

Loading…
Cancel
Save