Skip to content

Commit cc932cb

Browse files
committed
fix: remove indexed subcomponents, as it breaks with incorrect upstream data
see cataclysmbn/Cataclysm-BN#8345 fixes #141
1 parent f98b9b1 commit cc932cb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/types/OvermapSpecial.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ const fitTight: Action<HTMLElement> = (node) => {
131131
<dt>{t("Flags")}</dt>
132132
<dd>
133133
<ul class="comma-separated">
134-
{#each item.flags as flag (flag)}
135-
<li>{flag}</li>
134+
{#each item.flags as flag}
135+
<li><ItemLink type="json_flag" id={flag} /></li>
136136
{/each}
137137
</ul>
138138
</dd>
@@ -142,7 +142,7 @@ const fitTight: Action<HTMLElement> = (node) => {
142142
<dd>
143143
<ul class="comma-separated">
144144
<!-- prettier-ignore -->
145-
{#each lookalikeIds as id (id)}<li>{#if id === item.id}{id}{:else}<ItemLink type="overmap_special" {id} showIcon={false} />{/if}</li>{/each}
145+
{#each lookalikeIds as id (id)}<li>{#if id === item.id}{id}{:else}<ItemLink type="overmap_special" {id} showIcon={false} />{/if}</li>{/each}
146146
</ul>
147147
</dd>
148148
{/if}

0 commit comments

Comments
 (0)