mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-15 16:59:41 +00:00
[Glitch] Bundle quotes and mentions in the same quickfilter bar since quotes don't have their own icon
Port 4838085d66 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
@@ -26,7 +26,10 @@ const filterNotificationsByAllowedTypes = (
|
||||
);
|
||||
}
|
||||
return notifications.filter(
|
||||
(item) => item.type === 'gap' || allowedType === item.type,
|
||||
(item) =>
|
||||
item.type === 'gap' ||
|
||||
allowedType === item.type ||
|
||||
(allowedType === 'mention' && item.type === 'quote'),
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user