diff --git a/client/components/tables/UsersTable.vue b/client/components/tables/UsersTable.vue index d243fe31..a3b99ae8 100644 --- a/client/components/tables/UsersTable.vue +++ b/client/components/tables/UsersTable.vue @@ -109,8 +109,8 @@ export default { loadUsers() { this.$axios .$get('/api/users') - .then((users) => { - this.users = users.sort((a, b) => { + .then((res) => { + this.users = res.users.sort((a, b) => { return a.createdAt - b.createdAt }) }) diff --git a/client/pages/config/sessions.vue b/client/pages/config/sessions.vue index 2e417ce5..a3213c81 100644 --- a/client/pages/config/sessions.vue +++ b/client/pages/config/sessions.vue @@ -61,10 +61,10 @@