because id is never defined on notification object, the condition 'n.id === an.id' is equal to 'undefined === undefined' which is always true. that code is responsible for the situation when you delete one endpoint and it removes all of them.
Name |
Last commit
|
Last Update |
---|---|---|
.. | ||
__snapshots__ | Loading commit data... | |
partials | Loading commit data... | |
state | Loading commit data... | |
AlertRuleItem.test.tsx | Loading commit data... | |
AlertRuleItem.tsx | Loading commit data... | |
AlertRuleList.test.tsx | Loading commit data... | |
AlertRuleList.tsx | Loading commit data... | |
AlertTab.tsx | Loading commit data... | |
AlertTabCtrl.ts | Loading commit data... | |
NotificationsEditCtrl.ts | Loading commit data... | |
NotificationsListCtrl.ts | Loading commit data... | |
StateHistory.tsx | Loading commit data... | |
TestRuleResult.test.tsx | Loading commit data... | |
TestRuleResult.tsx | Loading commit data... | |
getAlertingValidationMessage.test.ts | Loading commit data... | |
getAlertingValidationMessage.ts | Loading commit data... |