data.PSMD
This commit is contained in:
parent
6a5b2ac8e8
commit
cbb415c051
|
@ -183,7 +183,8 @@
|
|||
|
||||
function createTableHTML(data) {
|
||||
let tableHTML = '<table border="1"><tr>';
|
||||
Object.keys(data).forEach(key => {
|
||||
tableHTML += `<th>task</th>`;
|
||||
Object.keys(data.PSMD).forEach(key => {
|
||||
tableHTML += `<th>${key}</th>`;
|
||||
});
|
||||
alert(tableHTML);
|
||||
|
|
Loading…
Reference in New Issue