@progressive-development/pd-contact 0.1.68 → 0.1.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/PdContact.js +5 -0
package/package.json
CHANGED
package/src/PdContact.js
CHANGED
|
@@ -369,6 +369,11 @@ function transformPhone(phone, country) {
|
|
|
369
369
|
}
|
|
370
370
|
|
|
371
371
|
_renderViewContact() {
|
|
372
|
+
|
|
373
|
+
if(!this.contact) {
|
|
374
|
+
return html`<p>Contact undefined</p>`;
|
|
375
|
+
}
|
|
376
|
+
|
|
372
377
|
const trPhoneNr = transformPhone(this.contact.phone1, this.contact.country || "be");
|
|
373
378
|
return html`
|
|
374
379
|
<address>
|