chore(order): simplify order engine (#8188)

what:
- remove unused features of order changes calculation engine
This commit is contained in:
Carlos R. L. Rodrigues
2024-07-18 15:02:13 -03:00
committed by GitHub
parent e0c0a86264
commit 78b8a3c60f
24 changed files with 26 additions and 548 deletions

View File

@@ -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)
}
}