{#each Object.entries(typedAttributes) as [typeAddr, entries] (typeAddr)}
{/each}
{#if currentUntypedAttributes.length > 0 || editable}
{/if}
{#if currentBacklinks.length > 0}
{/if}
{#if tagged.length > 0}
[
{
component: Gallery,
props: {
entities: entries.map((e) => e.entity),
thumbnails: false,
},
},
],
},
{
name: "Gallery",
components: (entries) => [
{
component: Gallery,
props: {
entities: entries.map((e) => e.entity),
thumbnails: true,
},
},
],
},
]}
entries={tagged}
on:change={onChange}
/>
{/if}
{#if $entityInfo?.t === "Attribute"}
{/if}
{#if editable}
{/if}
{:else}
{$i18n.t("Used")} ({attributesUsed.length})
{$error}
{/if}