Skip to content

Commit

Permalink
Remove effect badge type selection while counter is the only type (#3805
Browse files Browse the repository at this point in the history
)
  • Loading branch information
CarlosFdez authored Sep 6, 2022
1 parent 619df25 commit 752ccb5
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions static/templates/items/effect-sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,7 @@
<div class="form-group">
{{#if data.badge}}
<div class="form-fields">
<select name="system.badge.type">
{{#select data.badge.type}}
<option value="counter">{{localize "PF2E.Item.Effect.BadgeType.Counter"}}</option>
{{/select}}
</select>
{{localize "PF2E.Item.Effect.BadgeType.Counter"}}
<input type={{#if (eq data.badge.type "counter")}}"number"{{else}}"text"{{/if}} name="system.badge.value" value="{{data.badge.value}}"/>
<div class="item-controls">
<a data-action="badge-delete"><i class="fas fa-fw fa-times"></i></a>
Expand Down

0 comments on commit 752ccb5

Please sign in to comment.