Finish adding the create button in the item group lists

This commit is contained in:
Oliver 2026-04-09 21:41:37 -06:00
parent fc24caf08a
commit 9955b76956
4 changed files with 41 additions and 13 deletions

View file

@ -39,6 +39,19 @@
{{#each itemGroups as | group |}}
<section>
<div class="item-list-header">
{{#if @root.meta.editable}}
<button
data-action="createEmbeddedItem"
data-item-group="{{ group.name }}"
aria-label="{{localize "taf.Apps.PlayerSheet.create-item"}}"
data-tooltip
>
<taf-icon
name="icons/plus"
var:fill="currentColor"
></taf-icon>
</button>
{{/if}}
<h3 class="grow">
{{ group.name }}
</h3>