1
0
Fork 0

Web UI: Table infinite scroll

This commit is contained in:
Matthieu Hostache 2019-11-27 15:06:06 +01:00 committed by Traefiker Bot
parent bd75eddc8e
commit c4a38de007
15 changed files with 2965 additions and 1049 deletions

View file

@ -4,7 +4,7 @@ export function getAllRouters ({ commit }, params) {
commit('getAllRoutersRequest')
return TcpService.getAllRouters(params)
.then(body => {
commit('getAllRoutersSuccess', body)
commit('getAllRoutersSuccess', { body, ...params })
return body
})
.catch(error => {
@ -30,7 +30,7 @@ export function getAllServices ({ commit }, params) {
commit('getAllServicesRequest')
return TcpService.getAllServices(params)
.then(body => {
commit('getAllServicesSuccess', body)
commit('getAllServicesSuccess', { body, ...params })
return body
})
.catch(error => {