Safety backup before Path A fixes - fixing function mismatches and missing functions

This commit is contained in:
2026-03-11 11:01:43 -04:00
parent 0a5042e130
commit 083f152b35
62 changed files with 202 additions and 261 deletions
+2 -2
View File
@@ -19,7 +19,7 @@ templ BookShelf(user User, libraries []LibraryData) {
<div class="flex flex-col sm:flex-row gap-4 items-center justify-between">
<div class="flex-1 w-full">
<label class="block text-sm font-medium mb-2" style="color: var(--text-secondary)">Select Library</label>
<select id="library-select" @change="selectLibrary()" class="w-full px-4 py-3 border rounded-lg text-lg" style="background-color: var(--bg-secondary); color: var(--text-primary); border-color: var(--border);">
<select id="library-select" @change="$store.bookshelf.selectLibrary" class="w-full px-4 py-3 border rounded-lg text-lg" style="background-color: var(--bg-secondary); color: var(--text-primary); border-color: var(--border);">
if len(libraries) == 0 {
<option value="">No libraries available</option>
} else {
@@ -30,7 +30,7 @@ templ BookShelf(user User, libraries []LibraryData) {
</select>
</div>
<div class="flex gap-2">
<button @click="loadBookshelf()" class="btn-primary px-6 py-3 rounded-lg font-medium">
<button @click="$store.bookshelf.loadBookshelf" class="btn-primary px-6 py-3 rounded-lg font-medium">
Refresh
</button>
</div>