mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-12 16:22:57 -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],
|
||||
"data":"stopped",
|
||||
"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');
|
||||
} else {
|
||||
$(td).html(moment(cellData,"X").format(time_format));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue