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 />
|
<br />
|
||||||
<!--TODO: Add Scrolling to Dropdown Element-->
|
<!--TODO: Add Scrolling to Dropdown Element-->
|
||||||
<DropDown
|
<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}
|
dropdownId={speciesDropdownId}
|
||||||
>
|
>
|
||||||
{#each Object.values($LeanChellarisDataStore.phenotypes[empire.portrait_group_id].species) as species}
|
{#each Object.values($LeanChellarisDataStore.phenotypes[empire.portrait_group_id].species) as species}
|
||||||
{#if species}
|
{#if species}
|
||||||
<DropDownElement dropdownId={speciesDropdownId}>
|
<DropDownElement dropdownId={speciesDropdownId}>
|
||||||
<input id={'checkbox' + species.id} data-dropdown={speciesDropdownId} type="radio" bind:group={empire.portrait_id} value={species.id} />
|
<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>
|
</DropDownElement>
|
||||||
{/if}
|
{/if}
|
||||||
{/each}
|
{/each}
|
||||||
|
@ -303,14 +303,14 @@
|
||||||
<br />
|
<br />
|
||||||
<!--TODO: Add Scrolling to Dropdown Element-->
|
<!--TODO: Add Scrolling to Dropdown Element-->
|
||||||
<DropDown
|
<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}
|
dropdownId={speciesDropdownId}
|
||||||
>
|
>
|
||||||
{#each Object.values($LeanChellarisDataStore.phenotypes[empire.portrait_group_id].species) as species}
|
{#each Object.values($LeanChellarisDataStore.phenotypes[empire.portrait_group_id].species) as species}
|
||||||
{#if species}
|
{#if species}
|
||||||
<DropDownElement dropdownId={speciesDropdownId}>
|
<DropDownElement dropdownId={speciesDropdownId}>
|
||||||
<input id={'checkbox' + species.id} data-dropdown={speciesDropdownId} type="radio" bind:group={empire.portrait_id} value={species.id} />
|
<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>
|
</DropDownElement>
|
||||||
{/if}
|
{/if}
|
||||||
{/each}
|
{/each}
|
||||||
|
|
Reference in a new issue