fix: call ensureDevicesLoaded in diagnostics page
This commit is contained in:
parent
697505fdf2
commit
698586efac
@ -1418,6 +1418,7 @@ func (u *UI) actionModelSync(w http.ResponseWriter, r *http.Request) {
|
||||
}
|
||||
|
||||
func (u *UI) pageDiagnostics(w http.ResponseWriter, r *http.Request) {
|
||||
u.ensureDevicesLoaded()
|
||||
data := PageData{Title: "日志审计", Devices: u.registry.GetDevices()}
|
||||
if u.auditRepo != nil {
|
||||
items, err := u.auditRepo.List()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user