From 9f2d3c721c182ff31f694b87f2049337ff3ddec1 Mon Sep 17 00:00:00 2001 From: Claire Date: Thu, 22 Aug 2024 15:42:02 +0200 Subject: [PATCH] [Glitch] Hide multiple selection bar for notification requests when no notificion requests are loaded Port abe292b0ec7f1e5ae0871db0492e191c65a18784 to glitch-soc Signed-off-by: Claire --- .../flavours/glitch/features/notifications/requests.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/javascript/flavours/glitch/features/notifications/requests.jsx b/app/javascript/flavours/glitch/features/notifications/requests.jsx index 970ce3b40c..aa39805aac 100644 --- a/app/javascript/flavours/glitch/features/notifications/requests.jsx +++ b/app/javascript/flavours/glitch/features/notifications/requests.jsx @@ -217,7 +217,9 @@ export const NotificationRequests = ({ multiColumn }) => { multiColumn={multiColumn} showBackButton appendContent={ - } + notificationRequests.size > 0 && ( + + )} >