@ -4,6 +4,7 @@
class = "q-pa-lg"
class = "q-pa-lg"
>
>
< template
< template
v - if = "hasSubscriberProfileAttributes(['cfu', 'cfna', 'cfb'])"
v - slot : header
v - slot : header
>
>
< q -btn
< q -btn
@ -16,16 +17,19 @@
>
>
< csc -popup -menu >
< csc -popup -menu >
< csc -popup -menu -item
< csc -popup -menu -item
v - if = "hasSubscriberProfileAttribute('cfu')"
color = "primary"
color = "primary"
: label = "$t('If available')"
: label = "$t('If available')"
@ click = "createMapping({ type: 'cfu'})"
@ click = "createMapping({ type: 'cfu'})"
/ >
/ >
< csc -popup -menu -item
< csc -popup -menu -item
v - if = "hasSubscriberProfileAttribute('cfna')"
color = "primary"
color = "primary"
: label = "$t('If not available')"
: label = "$t('If not available')"
@ click = "createMapping({ type: 'cfna'})"
@ click = "createMapping({ type: 'cfna'})"
/ >
/ >
< csc -popup -menu -item
< csc -popup -menu -item
v - if = "hasSubscriberProfileAttribute('cfb')"
color = "primary"
color = "primary"
: label = "$t('If busy')"
: label = "$t('If busy')"
@ click = "createMapping({ type: 'cfb'})"
@ click = "createMapping({ type: 'cfb'})"
@ -111,6 +115,10 @@ export default {
] ) ,
] ) ,
... mapGetters ( 'callForwarding' , [
... mapGetters ( 'callForwarding' , [
'groups'
'groups'
] ) ,
... mapGetters ( 'user' , [
'hasSubscriberProfileAttribute' ,
'hasSubscriberProfileAttributes'
] )
] )
} ,
} ,
async mounted ( ) {
async mounted ( ) {