fix(monitor): hide remote nodes from monitor view

This commit is contained in:
sagitchu
2026-03-20 18:41:31 +08:00
parent addf8e2089
commit 1780be73b9
2 changed files with 14 additions and 0 deletions
@@ -12,6 +12,7 @@ func (r *Repository) ListMonitorNodes() ([]model.Node, error) {
}
var nodes []model.Node
err := r.db.Select("id", "inx", "name", "status", "updated_time").
Where("is_remote = ?", 0).
Order("inx ASC, id ASC").
Find(&nodes).Error
return nodes, err