This commit is contained in:
parent
299ec93199
commit
1a5ab341ab
@ -89,5 +89,9 @@ func (DashboardApi) ConnectionList(c *gin.Context) {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if len(connections) <= 0 {
|
||||||
|
connections = []vo.DataTraffic{}
|
||||||
|
}
|
||||||
|
|
||||||
response.R(c).OkWithData(connections)
|
response.R(c).OkWithData(connections)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user