mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-13 08:42:59 -07:00
Fix history table stopped time showing as "n/a"
This commit is contained in:
parent
9d01335395
commit
4e3b95950f
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ history_table_options = {
|
||||||
"targets": [9],
|
"targets": [9],
|
||||||
"data":"stopped",
|
"data":"stopped",
|
||||||
"createdCell": function (td, cellData, rowData, row, col) {
|
"createdCell": function (td, cellData, rowData, row, col) {
|
||||||
if (cellData === null || rowData['state'] != "stopped") {
|
if (cellData === null || (rowData['state'] != null && rowData['state'] != "stopped")) {
|
||||||
$(td).html('n/a');
|
$(td).html('n/a');
|
||||||
} else {
|
} else {
|
||||||
$(td).html(moment(cellData,"X").format(time_format));
|
$(td).html(moment(cellData,"X").format(time_format));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue