Prevent check from failing when upd object is missing
This commit is contained in:
parent
8761462acd
commit
0ab5ca6dee
@ -180,7 +180,7 @@ export class FenceService
|
|||||||
): void
|
): void
|
||||||
{
|
{
|
||||||
// Is preset
|
// Is preset
|
||||||
if (item.upd.sptPresetId)
|
if (item.upd?.sptPresetId)
|
||||||
{
|
{
|
||||||
if (assort.barter_scheme[item._id])
|
if (assort.barter_scheme[item._id])
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user