feat!: migrate to v12

BREAKING CHANGE: Support for v11 has been dropped
This commit is contained in:
Johannes Loher 2025-02-22 15:47:10 +01:00
parent 1dd2705bf1
commit 6ac9f49463
No known key found for this signature in database
GPG key ID: 7CB0A9FB553DA045
13 changed files with 52 additions and 89 deletions

View file

@ -10,11 +10,7 @@ SPDX-License-Identifier: MIT
<label for="system.armorType-{{data._id}}">{{localize "DS4.ArmorType"}}</label>
<div class="form-fields">
<select id="system.armorType-{{data._id}}" name="system.armorType" data-dtype="String">
{{#select data.system.armorType}}
{{#each config.i18n.armorTypes as |value key|}}
<option value="{{key}}">{{value}}</option>
{{/each}}
{{/select}}
{{selectOptions config.i18n.armorTypes selected=data.system.armorType}}
</select>
</div>
</div>
@ -22,11 +18,7 @@ SPDX-License-Identifier: MIT
<label for="system.armorMaterialType-{{data._id}}">{{localize "DS4.ArmorMaterialType"}}</label>
<div class="form-fields">
<select id="system.armorMaterialType-{{data._id}}" name="system.armorMaterialType" data-dtype="String">
{{#select data.system.armorMaterialType}}
{{#each config.i18n.armorMaterialTypes as |value key|}}
<option value="{{key}}">{{value}}</option>
{{/each}}
{{/select}}
{{selectOptions config.i18n.armorMaterialTypes selected=data.system.armorMaterialType}}
</select>
</div>
</div>