show main page by default.
Some checks failed
Build and Push Docker Image / buildx (push) Has been cancelled

This commit is contained in:
2025-11-11 17:11:40 +08:00
parent 68d13112ec
commit 1328b490c9
3 changed files with 30 additions and 17 deletions

View File

@@ -52,6 +52,8 @@ export default class CalendarView {
async loadData() {
if (!state.currentServer || !state.token) {
// No server or token, just render calendar without loading
this.renderCalendar();
return;
}
@@ -74,6 +76,8 @@ export default class CalendarView {
return;
}
showToast(error.message || '加载失败', 'error');
// Still render the calendar even if loading fails
this.renderCalendar();
}
}