{#if submenuItem?.submenu} { if (onCloseParent) onCloseParent(); dispatchClose(); }} /> {/if}