chore(order): simplify order engine (#8188)
what: - remove unused features of order changes calculation engine
This commit is contained in:
committed by
GitHub
parent
e0c0a86264
commit
78b8a3c60f
@@ -4,9 +4,3 @@ export function setActionReference(existing, action, options) {
|
||||
existing.actions.push(action)
|
||||
}
|
||||
}
|
||||
|
||||
export function unsetActionReference(existing, action) {
|
||||
if (Array.isArray(existing?.actions)) {
|
||||
existing.actions = existing.actions.filter((a) => a.id !== action.id)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user