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