Skip to content

Commit

Permalink
markdown users handle 0 loans
Browse files Browse the repository at this point in the history
  • Loading branch information
myTselection authored Nov 23, 2024
1 parent dd210c5 commit 9cfc4ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ content: >-
{% set user = user_device.entity_id %}
{% if state_attr(user,'num_loans') > 0 %}
{% if state_attr(user,'num_loans') or 0 > 0 %}
<details><summary><b>{{state_attr(user,'username') }}
{{state_attr(user,'libraryName') }}:</b></summary>
Expand Down

0 comments on commit 9cfc4ca

Please sign in to comment.