-
Notifications
You must be signed in to change notification settings - Fork 2
How To Save A Rule
klequis edited this page Oct 23, 2020
·
1 revision
- Call
ruleEditSlice.ruleCreate(rule)
- It is currently called from
Rule._handleSaveClick(ruleEdit)
- Once the rule has been saved
ruleCreate
will refresh/get all rules & transactions.
- It is currently called from
- Call
ruleEditSlice.ruleUpdate(rule)
- It is currently called from
Rule._handleSaveClick(ruleEdit)
- Once the rule has been saved
ruleUpdate
will refresh/get all rules & transactions.
- It is currently called from
- Once the rules is saved the server will run all rules, applying them to transactions that match their criteria.
A future optimization could be to only update transactions that match the new/updated rule's criteria.