Some sync data updates

This commit is contained in:
JonnyWong16 2017-12-30 23:21:31 -08:00
parent 9b4b3e0ecb
commit edc0b96167
4 changed files with 22 additions and 13 deletions

View file

@ -47,7 +47,7 @@ sync_table_options = {
},
{
"targets": [2],
"data": "friendly_name",
"data": "user",
"createdCell": function (td, cellData, rowData, row, col) {
if (cellData !== '') {
if (rowData['user_id']) {
@ -63,7 +63,7 @@ sync_table_options = {
},
{
"targets": [3],
"data": "title",
"data": "sync_title",
"createdCell": function (td, cellData, rowData, row, col) {
if (cellData !== '') {
if (rowData['metadata_type'] !== '') {

View file

@ -40,7 +40,7 @@
<th align="left" id="delete_row">Delete</th>
<th align="left" id="state">State</th>
<th align="left" id="user">User</th>
<th align="left" id="title">Title</th>
<th align="left" id="sync_title">Title</th>
<th align="left" id="type">Type</th>
<th align="left" id="platform">Platform</th>
<th align="left" id="device">Device</th>