Skip to content

Commit

Permalink
change condition
Browse files Browse the repository at this point in the history
  • Loading branch information
morphy2k committed Jan 13, 2024
1 parent 60af40e commit 4cc3681
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion view/templates/item/item_armor.gohtml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@

{{ template "penalties" . }}

{{ if gt .Entity.TotalDurability 0.0 }}
{{ if .Entity.Components }}
<div class="table-big">
<table>
<thead>
Expand Down
2 changes: 1 addition & 1 deletion view/templates/item/item_tacticalrig.gohtml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

{{ template "penalties" . }}

{{ if gt .Entity.TotalDurability 0.0 }}
{{ if .Entity.ArmorComponents }}
<div class="table-big">
<table>
<thead>
Expand Down

0 comments on commit 4cc3681

Please sign in to comment.