items in containers will not show in general items container
This commit is contained in:
parent
b957f5daa0
commit
9bcf456f17
Binary file not shown.
|
Before Width: | Height: | Size: 174 KiB After Width: | Height: | Size: 173 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 190 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 180 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 167 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 264 KiB |
|
|
@ -36,7 +36,7 @@
|
||||||
.flexpart {
|
.flexpart {
|
||||||
gap: 0;
|
gap: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 10px;
|
margin: 5px;
|
||||||
background-color: beige;
|
background-color: beige;
|
||||||
border: 2px solid black;
|
border: 2px solid black;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,10 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="flexpart">
|
<div class="flexpart">
|
||||||
<div class="flexpart-header"><img src="icons/tools/hand/scale-balances-merchant-brown.webp" class="flexpart-icon">{{localize "TYPES.Item.item"}}</div>
|
<div class="flexpart-header">
|
||||||
|
<img src="icons/tools/hand/scale-balances-merchant-brown.webp" class="flexpart-icon">
|
||||||
|
{{localize "TYPES.Item.item"}}
|
||||||
|
</div>
|
||||||
<table>
|
<table>
|
||||||
<thead class="theader">
|
<thead class="theader">
|
||||||
<tr>
|
<tr>
|
||||||
|
|
@ -39,6 +42,7 @@
|
||||||
<tr height = 10px></tr>
|
<tr height = 10px></tr>
|
||||||
</tr>
|
</tr>
|
||||||
{{#each data.calc.gear.items as |item itemId|}}
|
{{#each data.calc.gear.items as |item itemId|}}
|
||||||
|
{{#unless item.containerId}}
|
||||||
<tr data-item="{{itemId}}">
|
<tr data-item="{{itemId}}">
|
||||||
<td class="padding">
|
<td class="padding">
|
||||||
<span class="edit-item">{{item.label}}</span>
|
<span class="edit-item">{{item.label}}</span>
|
||||||
|
|
@ -61,6 +65,7 @@
|
||||||
<td class="fixed-value">{{#if item.rollExist}}<button class="roll-button roll-consumable-item"></button>{{/if}}</td>
|
<td class="fixed-value">{{#if item.rollExist}}<button class="roll-button roll-consumable-item"></button>{{/if}}</td>
|
||||||
<td class="fixed-value"><a class="item-delete" title="Delete Item"><i class="fas fa-trash"></i></a></td>
|
<td class="fixed-value"><a class="item-delete" title="Delete Item"><i class="fas fa-trash"></i></a></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
{{/unless}}
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
@ -83,7 +88,6 @@
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr height = 10px></tr>
|
<tr height = 10px></tr>
|
||||||
</tr>
|
|
||||||
{{#each data.calc.gear.containers as |item itemId|}}
|
{{#each data.calc.gear.containers as |item itemId|}}
|
||||||
<tr data-item="{{itemId}}">
|
<tr data-item="{{itemId}}">
|
||||||
<td class="padding">
|
<td class="padding">
|
||||||
|
|
@ -123,7 +127,6 @@
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr height = 10px></tr>
|
<tr height = 10px></tr>
|
||||||
</tr>
|
|
||||||
{{#each ../data.calc.gear.items as |item itemId|}}
|
{{#each ../data.calc.gear.items as |item itemId|}}
|
||||||
{{#if (eq item.containerId containerId)}}
|
{{#if (eq item.containerId containerId)}}
|
||||||
<tr data-item="{{itemId}}">
|
<tr data-item="{{itemId}}">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue