Skip to content

Commit 4f80594

Browse files
committed
fix: remove orphan closing tags left from x-if removal
1 parent 6b1b0a9 commit 4f80594

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

frontend/index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,6 @@ <h3 class="text-sm font-semibold text-gray-700">单次运行</h3>
644644
保存需要 GitHub PAT 具备 <strong>Secrets: Read and write</strong> 权限。
645645
</p>
646646
</div>
647-
</template>
648647
</div>
649648

650649
<!-- ─── SETTINGS ─── -->

frontend/js/app.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,9 @@ document.addEventListener("alpine:init", () => {
606606

607607
// ── Subscriptions editor (three-column) ──────────────────────────
608608
openSubscriptions() {
609-
// Minimal synchronous work — enter the page immediately.
609+
// Enter the page FIRST — before any DB work.
610+
this._go("subscriptions");
611+
610612
this.allCoursesTerms = ICS.db.getAllCoursesTerms();
611613
this.subsTerms = [];
612614
this.subsDepts = [];
@@ -644,7 +646,6 @@ document.addEventListener("alpine:init", () => {
644646
} catch {}
645647
}
646648
}
647-
this.navigate("subscriptions");
648649
// Background-load the catalog after the page has rendered
649650
var self = this;
650651
setTimeout(function () { self._loadCoursesForTerms(); }, 200);

0 commit comments

Comments
 (0)