Anpassung-des-Character-Sheet-Headers-#13 #28

Merged
oskaloq merged 19 commits from Anpassung-des-Character-Sheet-Headers-#13 into develop 2024-01-07 22:53:18 +01:00
2 changed files with 2 additions and 3 deletions
Showing only changes of commit 524bfebc15 - Show all commits

View File

@ -226,7 +226,6 @@ export class M5Character extends Actor {
calc: item.system.calc, calc: item.system.calc,
equipped: item.system?.equipped, equipped: item.system?.equipped,
weight: item.system.weight || 0, weight: item.system.weight || 0,
containerId: item.system.containerId || "",
value: item.system.value || 0, value: item.system.value || 0,
currency: item.system.currency || "", currency: item.system.currency || "",
quantity: item.system.quantity || 0, quantity: item.system.quantity || 0,

View File

@ -49,8 +49,8 @@
<div class="flexrow"> <div class="flexrow">
<span>{{localize "TYPES.Item.container"}}</span> <span>{{localize "TYPES.Item.container"}}</span>
{{#if data.calc.containers}} {{#if data.calc.containers}}
<select class="select-container" name="data.containerId" data-type="String"> <select class="select-container" name="data" data-type="String">
{{#select data.containerId}} {{#select data}}
<option value="">{{localize "midgard5.no-container"}}</option> <option value="">{{localize "midgard5.no-container"}}</option>
{{#each data.calc.containers as |container key|}} {{#each data.calc.containers as |container key|}}
<option value="{{key}}">{{container.label}}</option> <option value="{{key}}">{{container.label}}</option>