From 80cbe31f007e4a5f4f219d05bd640d41901dab50 Mon Sep 17 00:00:00 2001 From: Gautam Bajaj Date: Fri, 13 Sep 2024 10:25:17 +0530 Subject: [PATCH] adding default value for isPlaceholder --- ecc/blocks/profile-component/profile-component.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecc/blocks/profile-component/profile-component.js b/ecc/blocks/profile-component/profile-component.js index 613d1e31..db41d1a5 100644 --- a/ecc/blocks/profile-component/profile-component.js +++ b/ecc/blocks/profile-component/profile-component.js @@ -36,7 +36,7 @@ async function decorateProfile(element) { const profileContainer = createTag('profile-container', { class: 'profile-component' }); profileContainer.fieldlabels = fieldlabels; - profileContainer.profiles = [{ socialMedia: [{ link: '' }] }]; + profileContainer.profiles = [{ socialMedia: [{ link: '' }], isPlaceholder: true }]; element.append(profileContainer); }