[Glitch] Add notification policies and notification requests in web UI

Port c10bbf5fe3 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Eugen Rochko
2024-03-11 16:02:21 +01:00
committed by Claire
parent 3631ddbfc9
commit 13c9524436
27 changed files with 1324 additions and 291 deletions

View File

@@ -54,7 +54,7 @@ const initialState = ImmutableMap({
markNewForDelete: false,
});
const notificationToMap = (notification, markForDelete) => ImmutableMap({
export const notificationToMap = (notification, markForDelete = false) => ImmutableMap({
id: notification.id,
type: notification.type,
account: notification.account.id,