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 60c46e1683)
mr12.5.1
Marco Capetta 2 years ago
parent 7e0b6e8096
commit 7e597d6b7c

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