feat: dynamic field labels, optionally overriding field names per species
This commit is contained in:
parent
a0060ca4bb
commit
a2b904811a
21 changed files with 322 additions and 73 deletions
|
|
@ -13,7 +13,6 @@
|
|||
let dismissed = $state<string | null>(null);
|
||||
let showTemplateSwitcher = $state(false);
|
||||
let showMigrationModal = $state(false);
|
||||
|
||||
let speciesKeys = $derived(new Set(
|
||||
character.template.records.flatMap((r) => r.fields)
|
||||
.filter((f) => f.type === 'species')
|
||||
|
|
@ -160,6 +159,7 @@
|
|||
}
|
||||
roster.scheduleSave(character);
|
||||
}}
|
||||
onSave={() => roster.scheduleSave(character)}
|
||||
/>
|
||||
{/each}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue