Chore: GQL Cleanup P.3

This commit is contained in:
Youwes09
2026-06-07 18:37:52 -05:00
parent 248b046627
commit 615fa1e92f
12 changed files with 202 additions and 105 deletions
@@ -83,8 +83,8 @@
<div class="s-section">
<div class="s-section-body">
<div class="s-row">
<div class="s-row-info"><span class="s-label">Reading history</span><span class="s-desc">{homeState.history.length} entries</span></div>
<button class="s-btn s-btn-danger" onclick={clearHistory} disabled={homeState.history.length === 0}>Clear</button>
<div class="s-row-info"><span class="s-label">Reading history</span><span class="s-desc">{homeState.history?.length ?? 0} entries</span></div>
<button class="s-btn s-btn-danger" onclick={clearHistory} disabled={!homeState.history?.length}>Clear</button>
</div>
</div>
</div>