{#if object !== undefined} { dispatch('close') }}> {#if !object.channels || object.channels.length === 0} showPopup(SocialEditor, { values: object.channels ?? [] }, ev.target, (result) => { saveChannels(result) })} /> {:else} showPopup(SocialEditor, { values: object.channels ?? [] }, ev.target, (result) => { saveChannels(result) })} /> {/if} Applications {/if}