abmp-npm 1.10.1 → 1.10.3
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/pages/personalDetails.js +7 -1
package/package.json
CHANGED
package/pages/personalDetails.js
CHANGED
|
@@ -292,7 +292,6 @@ async function personalDetailsOnReady({
|
|
|
292
292
|
|
|
293
293
|
_$w('#profileLink').text = fullProfilePageLink;
|
|
294
294
|
_$w('#profileLink').link = fullProfilePageLink;
|
|
295
|
-
_$w('#urlWebsiteText').text = fullProfilePageLink;
|
|
296
295
|
_$w('#profileLink').target = '_blank';
|
|
297
296
|
_$w('#licenceNoText').text = (itemMemberObj.licenses || [])
|
|
298
297
|
.map(val => val.license)
|
|
@@ -1859,8 +1858,15 @@ async function personalDetailsOnReady({
|
|
|
1859
1858
|
itemMemberObj.toShowPhone = null;
|
|
1860
1859
|
}
|
|
1861
1860
|
|
|
1861
|
+
if (itemMemberObj.phones) {
|
|
1862
|
+
itemMemberObj.phones = itemMemberObj.phones.filter(
|
|
1863
|
+
phone => phone !== phoneToRemove.phoneNumber
|
|
1864
|
+
);
|
|
1865
|
+
}
|
|
1866
|
+
|
|
1862
1867
|
const updatedData = currentData.filter(item => item._id !== phoneId);
|
|
1863
1868
|
renderPhonesList(updatedData);
|
|
1869
|
+
checkFormChanges(FORM_SECTION_HANDLER_MAP.CONTACT_BOOKING);
|
|
1864
1870
|
}
|
|
1865
1871
|
}
|
|
1866
1872
|
|