MT#60613 Fix NCOS and NCOS Sets visibility in Block Outgoing page

The NCOS and NCOS Sets visibility was restricted to normal
subscribers or PBX subscriber administrators. Therefore it
was not visible to PBX subscribers that are not administrators.:

Change-Id: I6028c4e3c8537b193b009ae2cd7408cc245dc822
mr13.0
Marco Capetta 2 years ago
parent f301d02b3f
commit 4f8015c9b1

@ -12,7 +12,7 @@
no-wrap
>
<q-select
v-if="hasSubscriberProfileAttribute('ncos') && (isPbxAdmin || !isPbxEnabled)"
v-if="hasSubscriberProfileAttribute('ncos')"
v-model="ncosLevel"
use-chips
radio
@ -35,7 +35,7 @@
</template>
</q-select>
<q-select
v-if="hasSubscriberProfileAttribute('ncos_set') && (isPbxAdmin || !isPbxEnabled)"
v-if="hasSubscriberProfileAttribute('ncos_set')"
v-model="ncosSet"
use-chips
radio
@ -87,9 +87,7 @@ export default {
},
computed: {
...mapGetters('user', [
'hasSubscriberProfileAttribute',
'isPbxAdmin',
'isPbxEnabled'
'hasSubscriberProfileAttribute'
]),
hasNcosChanged () {
return this.ncosLevel !== this.originalNcosLevel

Loading…
Cancel
Save