containerId ersetzt

This commit is contained in:
Ender 2024-01-05 10:23:32 +01:00
parent b945f22710
commit 524bfebc15
2 changed files with 2 additions and 3 deletions

View File

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

View File

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