diff --git a/server/server.go b/server/server.go
index b67c354..311a9ec 100644
--- a/server/server.go
+++ b/server/server.go
@@ -37,11 +37,9 @@ import (
- HIGH Rate limiting: Sensitive endpoints (account/login/change-password/...)
- HIGH Docs
- HIGH CLI
+- MEDIUM: Test for expiring messages after reservation removal
- MEDIUM: Test new token endpoints & never-expiring token
- MEDIUM: Make sure account endpoints make sense for admins
-- MEDIUM: Reservation (UI): Show "This topic is reserved" error message when trying to reserve a reserved topic (Thorben)
-- MEDIUM: Reservation (UI): Ask for confirmation when removing reservation (deadcade)
-- MEDIUM: Reservation table delete button: dialog "keep or delete messages?"
- LOW: UI: Flickering upgrade banner when logging in
*/
diff --git a/web/src/components/Navigation.js b/web/src/components/Navigation.js
index e188d4c..57ba6c3 100644
--- a/web/src/components/Navigation.js
+++ b/web/src/components/Navigation.js
@@ -276,43 +276,45 @@ const SubscriptionItem = (props) => {
};
return (
-
- {icon}
-
- {subscription.reservation?.everyone &&
-
- {subscription.reservation?.everyone === Permission.READ_WRITE &&
-
- }
- {subscription.reservation?.everyone === Permission.READ_ONLY &&
-
- }
- {subscription.reservation?.everyone === Permission.WRITE_ONLY &&
-
- }
- {subscription.reservation?.everyone === Permission.DENY_ALL &&
-
- }
+ <>
+
+ {icon}
+
+ {subscription.reservation?.everyone &&
+
+ {subscription.reservation?.everyone === Permission.READ_WRITE &&
+
+ }
+ {subscription.reservation?.everyone === Permission.READ_ONLY &&
+
+ }
+ {subscription.reservation?.everyone === Permission.WRITE_ONLY &&
+
+ }
+ {subscription.reservation?.everyone === Permission.DENY_ALL &&
+
+ }
+
+ }
+ {subscription.mutedUntil > 0 &&
+
+
+
+ }
+
+ e.stopPropagation()} onClick={(e) => setMenuAnchorEl(e.currentTarget)}>
+
+
- }
- {subscription.mutedUntil > 0 &&
-
-
-
- }
-
- e.stopPropagation()} onClick={(e) => setMenuAnchorEl(e.currentTarget)}>
-
-
-
- setMenuAnchorEl(null)}
- />
-
-
-
+
+
+ setMenuAnchorEl(null)}
+ />
+
+ >
);
};