Merge branch 'fix-currency-editing-error' into 'master'

fix: don't throw an error when editing currency

See merge request dungeonslayers/ds4!163
This commit is contained in:
Johannes Loher 2022-01-06 22:29:25 +00:00
commit 90b93a808f

View file

@ -10,7 +10,7 @@ SPDX-License-Identifier: MIT
<div class="ds4-currency"> <div class="ds4-currency">
{{#each data.data.currency as |value key|}} {{#each data.data.currency as |value key|}}
<label for="data.currency.{{key}}" class="flex05">{{lookup ../config.i18n.characterCurrency key}}</label> <label for="data.currency.{{key}}" class="flex05">{{lookup ../config.i18n.characterCurrency key}}</label>
<input class="ds4-currency__value ds4-currency__value--{{key}} change-item" type="number" min="0" step="1" <input class="ds4-currency__value ds4-currency__value--{{key}}" type="number" min="0" step="1"
name="data.currency.{{key}}" id="data.currency.{{key}}" value="{{value}}" data-dtype="Number" /> name="data.currency.{{key}}" id="data.currency.{{key}}" value="{{value}}" data-dtype="Number" />
{{/each}} {{/each}}
</div> </div>