Fixed issue with sorting by login date of users

pull/2301/head
Glenn Wilkinson 2022-08-26 23:09:14 +02:00
parent 34f7457294
commit 3863ad31b9
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -203,7 +203,7 @@ const load = () => {
userTable.clear(); userTable.clear();
userRows = [] userRows = []
$.each(users, (i, user) => { $.each(users, (i, user) => {
lastlogin = "Never" lastlogin = ""
if (user.last_login != "0001-01-01T00:00:00Z") { if (user.last_login != "0001-01-01T00:00:00Z") {
lastlogin = moment(user.last_login).format('MMMM Do YYYY, h:mm:ss a') lastlogin = moment(user.last_login).format('MMMM Do YYYY, h:mm:ss a')
} }