summaryrefslogtreecommitdiffhomepage
path: root/gui/src
diff options
context:
space:
mode:
Diffstat (limited to 'gui/src')
-rw-r--r--gui/src/renderer/redux/account/actions.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/src/renderer/redux/account/actions.ts b/gui/src/renderer/redux/account/actions.ts
index 594a96f71f..2b186fb831 100644
--- a/gui/src/renderer/redux/account/actions.ts
+++ b/gui/src/renderer/redux/account/actions.ts
@@ -213,7 +213,7 @@ function updateAccountExpiry(expiry?: string): IUpdateAccountExpiryAction {
function updateDevices(devices: Array<IDevice>): IUpdateDevicesAction {
return {
type: 'UPDATE_DEVICES',
- devices: devices.sort((a, b) => a.created.getDate() - b.created.getDate()),
+ devices: devices.sort((a, b) => a.created.getTime() - b.created.getTime()),
};
}