Skip to content

Commit

Permalink
Only include button template when saves exist
Browse files Browse the repository at this point in the history
  • Loading branch information
apewall committed Feb 9, 2024
1 parent 8fc4491 commit 637ae26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/templates/chat/roll-result.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@
{{#if result.isSuccess}}<div class='roll-result roll-success'><b>{{localize 'OSE.Success'}}</b>
({{result.target}})</div>{{/if}}
{{#if rollOSE}}<div>{{{rollOSE}}}</div>{{/if}}
{{#if data.save}}
<div class="card-buttons">
{{#if data.save}}
<button data-action="save" data-save="{{data.save}}">
{{lookup config.saves_long data.save}} - {{localize "OSE.spells.Save"}}
</button>
{{/if}}
</div>
{{/if}}
</div>
<footer class="card-footer">
{{#each data.properties}}
Expand Down

0 comments on commit 637ae26

Please sign in to comment.