diff --git a/flatisfy/web/js_src/views/details.vue b/flatisfy/web/js_src/views/details.vue index 5f4b094..80dafc5 100644 --- a/flatisfy/web/js_src/views/details.vue +++ b/flatisfy/web/js_src/views/details.vue @@ -118,7 +118,11 @@
- {{ flat.phone }}
+
+
+ {{ phoneNumber }}
+
+
{{ $t("flatsDetails.no_phone_found") }}
@@ -305,6 +309,12 @@ export default {
this.overloadNotation = null
},
+ normalizePhoneNumber (phoneNumber) {
+ phoneNumber = phoneNumber.replace(/ /g, '')
+ phoneNumber = phoneNumber.replace(/\./g, '')
+ return phoneNumber
+ },
+
capitalize: capitalize,
range: range