Endpoint result is paginated.

This commit is contained in:
Antoine Nguyen
2023-02-27 11:35:04 +01:00
parent 800cdad11b
commit 8807fcd94b
+1 -1
View File
@@ -121,7 +121,7 @@ export default {
}
this.loading = true
alarms.getAll(params).then(resp => {
this.alarms = resp.data
this.alarms = resp.data.results
this.totalAlarms = resp.data.count
this.loading = false
})