{#if object !== undefined} { dispatch('close') }} > {#if !object.channels || object.channels.length === 0} showPopup(contact.component.SocialEditor, { values: object.channels ?? [] }, ev.target, (result) => { saveChannels(result) })} /> {:else} { if (ev.detail.presenter) { fullSize = true rightSection = ev.detail.presenter } }} /> showPopup( contact.component.SocialEditor, { values: object.channels ?? [] }, ev.target, (result) => { saveChannels(result) } )} /> {/if} View activity {/if}