diff --git a/src/components/CscCall.vue b/src/components/CscCall.vue
index 26ccca82..68e8f590 100644
--- a/src/components/CscCall.vue
+++ b/src/components/CscCall.vue
@@ -294,6 +294,7 @@
import { getChromeExtensionUrl } from '../helpers/cdk-lib'
import CscCallDialpad from './CscCallDialpad'
import CscPhoneNumberInput from './call/CscPhoneNumberInput'
+ import { showGlobalError } from '../helpers/ui'
import {
QLayout,
QCard,
@@ -384,10 +385,13 @@
call(localMedia) {
if(this.$refs.phoneNumberInput.hasPhoneNumber()) {
this.$store.dispatch('call/start', {
- number: this.$refs.phoneNumberInput.getRawPhoneNumber(),
+ number: this.$refs.phoneNumberInput.getPhoneNumber(),
localMedia: localMedia
});
}
+ else {
+ showGlobalError(this.$t('validationErrors.inputValidNumber'));
+ }
},
accept(localMedia) {
this.$store.dispatch('call/accept', localMedia);
diff --git a/src/components/call/CscPhoneNumberInput.vue b/src/components/call/CscPhoneNumberInput.vue
index d1c474ac..c6801f0a 100644
--- a/src/components/call/CscPhoneNumberInput.vue
+++ b/src/components/call/CscPhoneNumberInput.vue
@@ -4,7 +4,6 @@
dark
:count="maxLength"
:helper="helperMessage"
- :error="$v.phoneNumber.$error"
:error-label="errorMessage"
>