do the thing
This commit is contained in:
parent
7aaa51b3eb
commit
722d349c3a
@ -84,10 +84,11 @@ const items2 = new Items({
|
|||||||
category: ["Warframes", "Gear", "Melee", "Primary", "Secondary", "Sentinels", "Misc", "Arch-Gun", "Arch-Melee"]
|
category: ["Warframes", "Gear", "Melee", "Primary", "Secondary", "Sentinels", "Misc", "Arch-Gun", "Arch-Melee"]
|
||||||
});
|
});
|
||||||
|
|
||||||
items2.flatMap(item => item.components || []);
|
const buildables = items2.filter(item => !!(item as Buildable).components);
|
||||||
// for (const item of items2) {
|
for (const item of buildables as Array<MinItem & Buildable>) {
|
||||||
// console.log(item.category === "Warframes");
|
console.log(item.category === "Warframes");
|
||||||
// if (item.category === "Warframes") {
|
if (item.category === "Warframes") {
|
||||||
// console.log(item);
|
console.log(item);
|
||||||
// }
|
item.components;
|
||||||
// }
|
}
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user