fix bug in resource table
This commit is contained in:
parent
115cc51b16
commit
94ea16d4f5
@ -13,7 +13,7 @@ function buildResourceTable (object, tableid) {
|
||||
|
||||
let table = document.querySelector(tableid);
|
||||
let tbody = table.querySelector("tbody");
|
||||
Object.keys(object.available).forEach((element) => {
|
||||
Object.keys(object.avail).forEach((element) => {
|
||||
let row = tbody.insertRow();
|
||||
let key = row.insertCell();
|
||||
key.innerText = `${element}`;
|
||||
|
Loading…
Reference in New Issue
Block a user