Species Numbering Fix
This commit is contained in:
parent
e21a475b0c
commit
e56c051267
1 changed files with 4 additions and 4 deletions
|
@ -208,14 +208,14 @@
|
|||
<br />
|
||||
<!--TODO: Add Scrolling to Dropdown Element-->
|
||||
<DropDown
|
||||
dropdownTitle={'Species*: ' + $LeanChellarisDataStore.phenotypes[empire.portrait_group_id].species[empire.portrait_id].id}
|
||||
dropdownTitle={'Species*: ' + ($LeanChellarisDataStore.phenotypes[empire.portrait_group_id].species[empire.portrait_id].id + 1)}
|
||||
dropdownId={speciesDropdownId}
|
||||
>
|
||||
{#each Object.values($LeanChellarisDataStore.phenotypes[empire.portrait_group_id].species) as species}
|
||||
{#if species}
|
||||
<DropDownElement dropdownId={speciesDropdownId}>
|
||||
<input id={'checkbox' + species.id} data-dropdown={speciesDropdownId} type="radio" bind:group={empire.portrait_id} value={species.id} />
|
||||
<label for={'checkbox' + species.id} data-dropdown={speciesDropdownId}>{species.id}</label>
|
||||
<label for={'checkbox' + species.id} data-dropdown={speciesDropdownId}>{species.id + 1}</label>
|
||||
</DropDownElement>
|
||||
{/if}
|
||||
{/each}
|
||||
|
@ -303,14 +303,14 @@
|
|||
<br />
|
||||
<!--TODO: Add Scrolling to Dropdown Element-->
|
||||
<DropDown
|
||||
dropdownTitle={'Species: ' + $LeanChellarisDataStore.phenotypes[empire.portrait_group_id].species[empire.portrait_id].id}
|
||||
dropdownTitle={'Species: ' + ($LeanChellarisDataStore.phenotypes[empire.portrait_group_id].species[empire.portrait_id].id + 1)}
|
||||
dropdownId={speciesDropdownId}
|
||||
>
|
||||
{#each Object.values($LeanChellarisDataStore.phenotypes[empire.portrait_group_id].species) as species}
|
||||
{#if species}
|
||||
<DropDownElement dropdownId={speciesDropdownId}>
|
||||
<input id={'checkbox' + species.id} data-dropdown={speciesDropdownId} type="radio" bind:group={empire.portrait_id} value={species.id} />
|
||||
<label for={'checkbox' + species.id} data-dropdown={speciesDropdownId}>{species.id}</label>
|
||||
<label for={'checkbox' + species.id} data-dropdown={speciesDropdownId}>{species.id + 1}</label>
|
||||
</DropDownElement>
|
||||
{/if}
|
||||
{/each}
|
||||
|
|
Reference in a new issue