{#if filteredLayer.layerDef.name}
{#if $isDisplayed && filteredLayer.layerDef.filters?.length > 0}
{#each filteredLayer.layerDef.filters as filter}
{#if filter.options.length === 1 && filter.options[0].fields.length === 0} {/if} {#if filter.options.length === 1 && filter.options[0].fields.length > 0} {/if} {#if filter.options.length > 1} {#each filter.options as option, i} {/each} {/if}
{/each}
{/if}
{/if}