refactor: tab rules

This commit is contained in:
Barış Soner Uşaklı
2021-11-18 16:42:18 -05:00
parent c26870d227
commit fb363957d1
69 changed files with 128 additions and 175 deletions

View File

@@ -371,7 +371,7 @@ Notifications.merge = async function (notifications) {
notifications = mergeIds.reduce((notifications, mergeId) => {
const isolated = notifications.filter(n => n && n.hasOwnProperty('mergeId') && n.mergeId.split('|')[0] === mergeId);
if (isolated.length <= 1) {
return notifications; // Nothing to merge
return notifications; // Nothing to merge
}
// Each isolated mergeId may have multiple differentiators, so process each separately