MT#58235 it is possible to press the GREEN dial button even without entering the number to dial

Change-Id: I2c2dee9f432d262ca6842745f773c2dd3ced9376
mr12.0
Hugo Zigha 2 years ago committed by Hugo Zigha
parent 74ff3a2274
commit 785a8c73d9

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

@ -164,6 +164,7 @@
ref="call"
:call-state="callState"
:call-number="number"
:number-input="numberInput"
:ended-reason="endedReason"
:full-view="isFullView"
:minimized="!isHome && !maximized"

Loading…
Cancel
Save