Skip to content

Commit

Permalink
Null check issue
Browse files Browse the repository at this point in the history
  • Loading branch information
lab3 committed Dec 20, 2023
1 parent 875fc57 commit 31cac10
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions _includes/spell-card.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ <h3 id="{{spell.name}}" class="spell-title">{{spell.name}}</h3>
{% if recipe.tooltip != "" and desc != "" and recipe.tooltip != desc %}
<hr style="border-color: rgba(255,255,255,.2);">
{% endif %}

{% if site.data.spell_descriptions[spell.name].description != "" %}
{% if site.data.spell_descriptions[spell.name].description != null and site.data.spell_descriptions[spell.name].description != "" %}
{{site.data.spell_descriptions[spell.name].description}}
{% else %}
{{spell.description}}
Expand Down

0 comments on commit 31cac10

Please sign in to comment.