Skip to content

Commit

Permalink
settings: Correctly display default settings for zero-ish values
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz authored and sirainen committed Jan 22, 2025
1 parent 3e34c59 commit 52e6465
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/SettingsComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const d = Object.fromEntries(Object.entries(data).filter(([k, v]) =>
<tr>
<th>Default</th>
<td>
<span v-if="v.default" v-html="v.default" />
<span v-if="v.default !== undefined" v-html="v.default" />
<em v-else>[None]</em>
</td>
</tr>
Expand Down

0 comments on commit 52e6465

Please sign in to comment.