Only showing expand-me icon on InventoryItem if there is a description to show

This commit is contained in:
WBHarry 2025-11-10 17:29:29 +01:00
parent e794042134
commit bad00ff5f0

View file

@ -37,7 +37,7 @@ Parameters:
<div class="item-label">
{{!-- Item Name --}}
<span class="item-name">{{localize item.name}} {{#unless noExtensible}}<span class="expanded-icon"><i class="fa-solid fa-expand"></i></span>{{/unless}}</span>
<span class="item-name">{{localize item.name}} {{#unless (or noExtensible (not item.system.description))}}<span class="expanded-icon"><i class="fa-solid fa-expand"></i></span>{{/unless}}</span>
{{!-- Tags Start --}}
{{#with item}}