{#if channels?.length === 0}
showPopup(contact.component.SocialEditor, { values: channels }, eventToHTMLElement(ev), (result) => { if (result !== undefined) { dispatch('change', result) } })} />
{:else}
showPopup(contact.component.SocialEditor, { values: channels }, eventToHTMLElement(ev), (result) => { if (result !== undefined) { dispatch('change', result) } })} />
{/if}