Skip to content

Commit

Permalink
adjusted action name
Browse files Browse the repository at this point in the history
  • Loading branch information
eryon committed Oct 3, 2024
1 parent b93d89b commit ba6df52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/module/actor/loot/sheet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export class LootSheetPF2e<TActor extends LootPF2e> extends ActorSheetPF2e<TActo
} else {
ui.notifications.warn("No tokens selected.");
}
} else if (button?.dataset.action === "to-party-stash") {
} else if (button?.dataset.action === "send-to-party-stash") {
if (!game.actors.party) return;
transferItemsBetweenActors(this.actor, game.actors.party);
}
Expand Down
2 changes: 1 addition & 1 deletion static/templates/actors/loot/sidebar.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<div class="loot-distribution" data-sidebar-buttons="">
<button type="button" data-action="split-coins"><i class="fa-solid fa-coins"></i> {{localize "PF2E.loot.SplitCoinsLabel"}}</button>
<button type="button" data-action="loot-npcs"><i class="fa-solid fa-box-open"></i> {{localize "PF2E.loot.LootNPCsLabel"}}</button>
<button type="button" data-action="to-party-stash" {{disabled (not hasActiveParty)}}><i class="fa-solid fa-users-viewfinder"></i> {{localize "PF2E.loot.SendToPartyStash"}}</button>
<button type="button" data-action="send-to-party-stash" {{disabled (not hasActiveParty)}}><i class="fa-solid fa-users-viewfinder"></i> {{localize "PF2E.loot.SendToPartyStash"}}</button>
</div>
<div class="form-group">
<label for="{{document.uuid}}-hidden-when-empty">
Expand Down

0 comments on commit ba6df52

Please sign in to comment.