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); } diff --git a/ecc/components/profile/profile.js b/ecc/components/profile/profile.js index ffdbe133..cb814a9d 100644 --- a/ecc/components/profile/profile.js +++ b/ecc/components/profile/profile.js @@ -41,7 +41,7 @@ export class Profile extends LitElement { this.attachShadow({ mode: 'open' }); this.fieldlabels = this.fieldlabels ?? DEFAULT_FIELD_LABELS; - this.profile = this.profile ?? { socialMedia: [{ link: '' }] }; + this.profile = this.profile ?? { socialMedia: [{ link: '' }], isPlaceholder: true }; this.profileCopy = {}; }