fix ui so bo
All checks were successful
Deploy on Master Change / deploy (push) Successful in 38s

This commit is contained in:
2026-07-01 08:20:24 +07:00
parent 8784b1d135
commit e151b8610a
2 changed files with 1 additions and 4 deletions

View File

@@ -314,8 +314,6 @@ func (a *App) startLocalServer() {
a.expectingLogin = false
a.mu.Unlock()
blocker.Instance.Start()
// Kiểm tra điều kiện app được phép và giờ học trước khi tải giao diện
go a.refreshStudentData()
@@ -413,7 +411,6 @@ func (a *App) loadSession() {
if err := json.Unmarshal(data, &s); err == nil {
a.student = &s
log.Printf("[APP] Loaded local session: %s (%s)", s.FullName, s.StudentCode)
blocker.Instance.Start()
go a.refreshStudentData()
go a.fetchWifiPolicy()

View File

@@ -10,7 +10,7 @@ export const ClassesTab: React.FC = () => {
const [pageSize] = useState(15);
const [search, setSearch] = useState('');
const [systemFilter, setSystemFilter] = useState<number | undefined>(undefined);
const [studyingOnly, setStudyingOnly] = useState(true);
const [studyingOnly, setStudyingOnly] = useState(false);
const [loading, setLoading] = useState(true);
// Sync state
const [syncStatus, setSyncStatus] = useState<SyncStatus | null>(null);