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
(cherry picked from commit 4f8015c9b1)
(cherry picked from commit 38c1010be0)
mr12.4.1
Marco Capetta 1 year ago
parent 9da48cb740
commit bd480534db

@ -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