diff --git a/static/js/pages/admin/view/statistics.js b/static/js/pages/admin/view/statistics.js index d8b48868..d6fe7796 100644 --- a/static/js/pages/admin/view/statistics.js +++ b/static/js/pages/admin/view/statistics.js @@ -18,9 +18,11 @@ function getStatDetails(obj, uuid) { var table = ""; if (value.length > 0) { for (i=0; i < value.length; i++) { - table += "" + value[i].name + ""; + let tkn = $('
').html(value[i].token); + let nm = $('
').html(value[i].name); + table += "" + nm.text() + ""; if (value[i].token !== undefined) { - table += "" + value[i].token + ""; + table += "" + tkn.text() + ""; } if (value[i].price !== undefined) { table += "" + value[i].price + ""; @@ -31,7 +33,7 @@ function getStatDetails(obj, uuid) { if (key == "attempts") { table += ""; table += "Accept Answer"; }