{#each $preferencesModelStore as pref, i} {#if pref.visibility !== "tv"} {#if i !== $preferencesModelStore.length - 1}
{/if} {/if} {/each}