mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-02-01 04:22:57 -05:00
[Glitch] Hide multiple selection bar for notification requests when no notificion requests are loaded
Port abe292b0ec7f1e5ae0871db0492e191c65a18784 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
37f20514d3
commit
9f2d3c721c
@ -217,7 +217,9 @@ export const NotificationRequests = ({ multiColumn }) => {
|
||||
multiColumn={multiColumn}
|
||||
showBackButton
|
||||
appendContent={
|
||||
<SelectRow selectionMode={selectionMode} setSelectionMode={setSelectionMode} selectAllChecked={selectAllChecked} toggleSelectAll={toggleSelectAll} selectedItems={checkedRequestIds} />}
|
||||
notificationRequests.size > 0 && (
|
||||
<SelectRow selectionMode={selectionMode} setSelectionMode={setSelectionMode} selectAllChecked={selectAllChecked} toggleSelectAll={toggleSelectAll} selectedItems={checkedRequestIds} />
|
||||
)}
|
||||
>
|
||||
<ColumnSettings />
|
||||
</ColumnHeader>
|
||||
|
Loading…
x
Reference in New Issue
Block a user