Skip to content

Commit

Permalink
devices status badge #428 work
Browse files Browse the repository at this point in the history
  • Loading branch information
jokob-sk committed Sep 10, 2023
1 parent 5169ac3 commit af41eed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion front/devices.php
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ function initializeDatatable () {
default: color='aqua'; break;
};

$(td).html ('<a href="deviceDetails.php?mac='+ rowData[10] +'" class="badge bg-'+ color +'">'+ cellData.replace('-', '') +'</a>');
$(td).html ('<a href="deviceDetails.php?mac='+ rowData[mapIndx(11)] +'" class="badge bg-'+ color +'">'+ cellData.replace('-', '') +'</a>');
} },
],

Expand Down

0 comments on commit af41eed

Please sign in to comment.