File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ─── -->
Original file line number Diff line number Diff 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 ) ;
You can’t perform that action at this time.
0 commit comments