Reset Container.id
This commit is contained in:
parent
6fa773e3c0
commit
62b8eaf667
|
|
@ -226,6 +226,7 @@ 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,
|
||||
|
|
|
|||
|
|
@ -49,8 +49,8 @@
|
|||
<div class="flexrow">
|
||||
<span>{{localize "TYPES.Item.container"}}</span>
|
||||
{{#if data.calc.containers}}
|
||||
<select class="select-container" name="data" data-type="String">
|
||||
{{#select data}}
|
||||
<select class="select-container" name="data.containerId" data-type="String">
|
||||
{{#select data.containerId}}
|
||||
<option value="">{{localize "midgard5.no-container"}}</option>
|
||||
{{#each data.calc.containers as |container key|}}
|
||||
<option value="{{key}}">{{container.label}}</option>
|
||||
|
|
|
|||
Loading…
Reference in New Issue