mirror of
https://github.com/RoboSats/robosats.git
synced 2025-01-31 10:31:35 +00:00
Fix
This commit is contained in:
parent
b9bab30de3
commit
48dd17b2c6
@ -36,6 +36,7 @@ class Garage {
|
|||||||
...defaultSlot,
|
...defaultSlot,
|
||||||
...raw,
|
...raw,
|
||||||
robot,
|
robot,
|
||||||
|
order: null,
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
console.log('Robot Garage was loaded from local storage');
|
console.log('Robot Garage was loaded from local storage');
|
||||||
@ -123,6 +124,8 @@ class Garage {
|
|||||||
if (attributes.activeOrderId && attributes.activeOrderId != null) {
|
if (attributes.activeOrderId && attributes.activeOrderId != null) {
|
||||||
this.slots[index].activeOrderId = attributes.activeOrderId;
|
this.slots[index].activeOrderId = attributes.activeOrderId;
|
||||||
this.slots[index].activeOrderShortAlias = attributes.shortAlias;
|
this.slots[index].activeOrderShortAlias = attributes.shortAlias;
|
||||||
|
this.slots[index].lastOrderId = null;
|
||||||
|
this.slots[index].lastOrderShortAlias = null;
|
||||||
}
|
}
|
||||||
this.triggerHook('onRobotUpdate');
|
this.triggerHook('onRobotUpdate');
|
||||||
this.save();
|
this.save();
|
||||||
|
Loading…
Reference in New Issue
Block a user