Ignore changes for now deleted push rules on save
This commit is contained in:
parent
9473e97c61
commit
d2fc003617
|
@ -28,6 +28,8 @@ HListView {
|
|||
const args = []
|
||||
|
||||
for (const [modelId, kwargs] of Object.entries(pendingEdits)) {
|
||||
if (! model.find(modelId)) continue // pushrule was deleted
|
||||
|
||||
const [kind, rule_id] = JSON.parse(modelId)
|
||||
args.push(Object.assign({}, {kind, rule_id}, kwargs))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user