frontend work
This commit is contained in:
@@ -354,13 +354,15 @@ implements FrontworkComponent<ItemManagerIfc, ItemManagerFeatureIfc>, TableDefin
|
||||
Object.entries(itemTiers)
|
||||
.map((kv) => Promise.all(
|
||||
kv[1].map(i => this.fetchItem(i)
|
||||
.then(item => this.admin
|
||||
.then(item =>
|
||||
this.admin
|
||||
.knex('items')
|
||||
.insert({
|
||||
tier: kv[0],
|
||||
...item
|
||||
})
|
||||
))
|
||||
}).catch(() => {})
|
||||
)
|
||||
)
|
||||
))
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user