only show first 25 items (for testing)
This commit is contained in:
parent
22272917bb
commit
91907f1f1b
@ -12,7 +12,7 @@ m.request("./data/nodes.json")
|
||||
.map(name => nodes[name])
|
||||
.forEach(node => list.push(node));
|
||||
|
||||
const rows = list
|
||||
let rows = list
|
||||
.filter(node => !(node.groups && node.groups.not_in_creative_inventory == 1))
|
||||
.map(node => {
|
||||
return m("tr", [
|
||||
@ -21,6 +21,9 @@ m.request("./data/nodes.json")
|
||||
]);
|
||||
});
|
||||
|
||||
// Only show the first few items
|
||||
rows = rows.splice(0, 25);
|
||||
|
||||
const table = m("table", [
|
||||
m("thead", [
|
||||
m("th", [
|
||||
|
Loading…
x
Reference in New Issue
Block a user