Hide rating key column on media export table

This commit is contained in:
JonnyWong16 2020-09-27 15:39:39 -07:00
parent 02d4a3b9fe
commit 9a7d6ea7d7
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
2 changed files with 2 additions and 1 deletions

View file

@ -57,7 +57,7 @@ export_table_options = {
"targets": [2],
"data": "rating_key",
"createdCell": function (td, cellData, rowData, row, col) {
if (cellData !== '') {
if (cellData !== null) {
$(td).html('<a href="' + page('info', rowData['rating_key']) + '">' + cellData + '</a>');
}
},