Fix phone number display issue

This commit is contained in:
Raphael Michel
2020-12-15 09:38:26 +01:00
parent 5caa874263
commit 4e26df5752

View File

@@ -10,7 +10,7 @@ def phone_format(value: str):
if not value:
return ""
if isinstance(value, PhoneNumber):
if isinstance(value, PhoneNumber) and value.as_international:
return value.as_international
try: