{#if query !== undefined && modeSelectorProps !== undefined} {#key query && currentSpace} {/key} {/if}