mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-08 20:10:17 +02:00
[CHANGE] Return empty field when no datetime available
This commit is contained in:
parent
960c9625fe
commit
5559ce5fbb
@ -105,6 +105,10 @@
|
||||
{
|
||||
data: 'last_connect',
|
||||
render: (data) => {
|
||||
if (data === null) {
|
||||
return '';
|
||||
}
|
||||
|
||||
return moment(data).utc().format(MUMBLESTATS_DATETIME_FORMAT);
|
||||
},
|
||||
className: 'text-end',
|
||||
@ -112,6 +116,10 @@
|
||||
{
|
||||
data: 'last_disconnect',
|
||||
render: (data) => {
|
||||
if (data === null) {
|
||||
return '';
|
||||
}
|
||||
|
||||
return moment(data).utc().format(MUMBLESTATS_DATETIME_FORMAT);
|
||||
},
|
||||
className: 'text-end',
|
||||
|
Loading…
x
Reference in New Issue
Block a user