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:
+1
-1
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user