Fix missing username on sync table

This commit is contained in:
JonnyWong16 2020-03-17 09:44:10 -07:00
parent d8b1db536c
commit 6205af1a9a

View file

@ -51,7 +51,7 @@ sync_table_options = {
"createdCell": function (td, cellData, rowData, row, col) {
if (cellData !== '') {
if (rowData['user_id']) {
$(td).html('<a href="' + page('user', rowData['user_id']) + '>' + cellData + '</a>');
$(td).html('<a href="' + page('user', rowData['user_id']) + '">' + cellData + '</a>');
} else {
$(td).html('<a href="' + page('user', null, rowData['user']) + '">' + cellData + '</a>');
}