{#if canAct}
{t('noteRowColourLabel')}
{#each PALETTE as c (c)}
pickColor(c)} >
{/each}
{t('noteRowConnectLabel')}
setLink(e.currentTarget.value, 0)} >
{t('noteRowConnectNone')}
{#each figures as f (f.id)}
{f.kind === 'player' ? t('noteRowConnectPlayer') : t('noteRowConnectMonster')}: {f.display}
{/each}
{#if linkedMonster}
s.standeeNr === standeeNr) ? standeeNr : 0} onchange={(e) => setLink(linkedId, Number(e.currentTarget.value))} >
{t('noteRowWholeGroup')}
{#each linkedMonster.monsterInstances as s (s.standeeNr)}
{t('noteRowStandeeNr', { nr: s.standeeNr })}
{/each}
{/if}
{#if isEdit && note}
{t('noteRowDelete')}
{:else}
{/if} {#if isEdit}
{t('close')}
{:else}
{t('noteRowAddFromMenu')}
{/if}
{/if}