Fix incorrect reference to Set data structure
This commit is contained in:
parent
eb9af28c1b
commit
9ddfeb629e
@ -83,7 +83,7 @@ export class HandbookHelper
|
|||||||
|
|
||||||
if (this.handbookPriceCache.items.byId.has(tpl))
|
if (this.handbookPriceCache.items.byId.has(tpl))
|
||||||
{
|
{
|
||||||
return this.handbookPriceCache.items.byId[tpl];
|
return this.handbookPriceCache.items.byId.get(tpl);
|
||||||
}
|
}
|
||||||
|
|
||||||
const handbookItem = this.databaseServer.getTables().templates.handbook.Items.find(x => x.Id === tpl);
|
const handbookItem = this.databaseServer.getTables().templates.handbook.Items.find(x => x.Id === tpl);
|
||||||
|
Loading…
Reference in New Issue
Block a user