myrta-ui 1.1.72 → 1.1.73
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/fesm2020/myrta-ui.mjs
CHANGED
|
@@ -17396,7 +17396,7 @@ class InputTelComponent {
|
|
|
17396
17396
|
}
|
|
17397
17397
|
get selectedCountryGet() {
|
|
17398
17398
|
const list = this.countriesToShowGet;
|
|
17399
|
-
if (!list.find(c => c.iso2 === this.selectedCountry.iso2)) {
|
|
17399
|
+
if (this.selectedCountry && !list.find(c => c.iso2 === this.selectedCountry.iso2)) {
|
|
17400
17400
|
this.selectedCountry = list[0];
|
|
17401
17401
|
}
|
|
17402
17402
|
return this.selectedCountry;
|