Skip to content

Commit

Permalink
adding default value for isPlaceholder
Browse files Browse the repository at this point in the history
  • Loading branch information
gbajaj91 committed Sep 13, 2024
1 parent 474f9b7 commit 80cbe31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ecc/blocks/profile-component/profile-component.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 80cbe31

Please sign in to comment.