Skip to content

Commit

Permalink
fix: default value for backward compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
ItzNotABug committed Jun 14, 2024
1 parent a84897c commit 95a87de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/partials/settings/customise.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<div class="form-group mb-4 flex items-center">
<input type="checkbox" class="form-checkbox h-4 w-4 text-blue-600 rounded border-gray-600 mr-2"
id="newsletter.show_excerpt" name="newsletter.show_excerpt"
<% if (Boolean(configs.newsletter.show_excerpt) ?? false) { %> checked
<% if (Boolean(configs.newsletter.show_excerpt ?? false)) { %> checked
<% } %>
>
<label for="newsletter.show_excerpt" class="text-gray-300">Show Excerpts</label>
Expand Down

0 comments on commit 95a87de

Please sign in to comment.