feat: Refactor swap handling and enhance delay management in conveyor actions
This commit is contained in:
@@ -103,7 +103,7 @@ function MaterialInstance({ material }: { material: MaterialSchema }) {
|
||||
if (toModel.type === 'transfer') {
|
||||
const action = getActionByPointUuid(selectedProduct.productId, material.next.pointUuid);
|
||||
if (action) {
|
||||
triggerPointActions(action);
|
||||
triggerPointActions(action, material.materialId);
|
||||
}
|
||||
} else if (toModel?.type === 'vehicle') {
|
||||
// Transfer to Vehicle
|
||||
|
||||
Reference in New Issue
Block a user