diff --git a/pages/account/devices.vue b/pages/account/devices.vue index 5c80a62..ec0ee3e 100644 --- a/pages/account/devices.vue +++ b/pages/account/devices.vue @@ -68,9 +68,7 @@ - {{ - DateTime.fromISO(client.lastConnected).diffNow().toHuman() - }} + {{ DateTime.fromISO(client.lastConnected).toRelative() }} { - const index = clients.findIndex((e) => e.id == id); - clients.splice(index, 1); + const index = clients.value.findIndex((e) => e.id == id); + clients.value.splice(index, 1); }) .catch((e) => { createModal(