chore(ui): clear eslint mechanical style bucket

Replace loose template null checks with strict null and undefined comparisons and convert the remaining simple index loops to for-of iteration.

Keep behavior intact while clearing the low-risk mechanical lint backlog in templates and chart helpers.

Validation: just ui lint
This commit is contained in:
James Cox
2026-04-22 17:26:48 -04:00
committed by Zach Yale
parent 18784fd12d
commit ea15719b6c
7 changed files with 20 additions and 21 deletions
@@ -5,7 +5,7 @@
alt="Cover of {{ book.metadata?.title }}"
loading="lazy"/>
@if (showSeriesNumber && !book.seriesCount && book.metadata?.seriesNumber != null) {
@if (showSeriesNumber && !book.seriesCount && book.metadata?.seriesNumber !== null && book.metadata?.seriesNumber !== undefined) {
<div class="series-number-overlay">
#{{ book.metadata?.seriesNumber }}
</div>