mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-07 13:41:15 -07:00
Disable sync table links if multiple rating keys
This commit is contained in:
parent
e9e8fd31a4
commit
358d44f1af
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ sync_table_options = {
|
||||||
"data": "sync_title",
|
"data": "sync_title",
|
||||||
"createdCell": function (td, cellData, rowData, row, col) {
|
"createdCell": function (td, cellData, rowData, row, col) {
|
||||||
if (cellData !== '') {
|
if (cellData !== '') {
|
||||||
if (rowData['rating_key']) {
|
if (rowData['rating_key'] && !rowData['rating_key'].includes(',')) {
|
||||||
$(td).html('<a href="' + page('info', rowData['rating_key']) + '">' + cellData + '</a>');
|
$(td).html('<a href="' + page('info', rowData['rating_key']) + '">' + cellData + '</a>');
|
||||||
} else {
|
} else {
|
||||||
$(td).html(cellData);
|
$(td).html(cellData);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue