diff --git a/data/interfaces/default/js/tables/history_table.js b/data/interfaces/default/js/tables/history_table.js index 8f74be8c..be61ec49 100644 --- a/data/interfaces/default/js/tables/history_table.js +++ b/data/interfaces/default/js/tables/history_table.js @@ -59,6 +59,8 @@ history_table_options = { state = ''; } else if (rowData['state'] === 'buffering') { state = ''; + } else if (rowData['state'] === 'stopped') { + state = ''; } $(td).html('
' + state + ' ' + date + '
'); } else if (rowData['group_count'] > 1) { @@ -203,7 +205,7 @@ history_table_options = { "targets": [9], "data":"stopped", "createdCell": function (td, cellData, rowData, row, col) { - if (cellData === null || rowData['state'] != null) { + if (cellData === null || rowData['state'] != "stopped") { $(td).html('n/a'); } else { $(td).html(moment(cellData,"X").format(time_format));