|
|
@ -222,6 +222,7 @@
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
<q-btn
|
|
|
|
<q-btn
|
|
|
|
v-if="canStart"
|
|
|
|
v-if="canStart"
|
|
|
|
|
|
|
|
:disabled="!isIncoming && !isNumberInputDefined"
|
|
|
|
color="primary"
|
|
|
|
color="primary"
|
|
|
|
text-color="dark"
|
|
|
|
text-color="dark"
|
|
|
|
icon="call"
|
|
|
|
icon="call"
|
|
|
@ -356,6 +357,10 @@ export default {
|
|
|
|
type: String,
|
|
|
|
type: String,
|
|
|
|
required: true
|
|
|
|
required: true
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
numberInput: {
|
|
|
|
|
|
|
|
type: String,
|
|
|
|
|
|
|
|
required: true
|
|
|
|
|
|
|
|
},
|
|
|
|
endedReason: {
|
|
|
|
endedReason: {
|
|
|
|
type: String,
|
|
|
|
type: String,
|
|
|
|
default: null
|
|
|
|
default: null
|
|
|
@ -536,6 +541,9 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
callStateTitle () {
|
|
|
|
callStateTitle () {
|
|
|
|
return CallStateTitle[this.callState]
|
|
|
|
return CallStateTitle[this.callState]
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
isNumberInputDefined () {
|
|
|
|
|
|
|
|
return this.numberInput !== '' && this.numberInput !== null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
watch: {
|
|
|
|
watch: {
|
|
|
|