From 594be882101cf849e172b90c0944b98a3629bad2 Mon Sep 17 00:00:00 2001 From: plebeius Date: Thu, 13 Nov 2025 12:23:59 +0100 Subject: [PATCH] fix(boards-list): hide Multiboards section when filtering for worksafe boards --- src/views/home/boards-list/boards-list.tsx | 27 ++++++++++++---------- 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/src/views/home/boards-list/boards-list.tsx b/src/views/home/boards-list/boards-list.tsx index 8bdc4826..ade581f7 100644 --- a/src/views/home/boards-list/boards-list.tsx +++ b/src/views/home/boards-list/boards-list.tsx @@ -101,6 +101,7 @@ const BoardsList = ({ multisub }: { multisub: MultisubSubplebbit[] }) => { const showOther = showAll || showWorksafeOnly; const showMisc = showAll || showNsfwOnly; const showAdult = showAll || showNsfwOnly; + const showMultiboards = showAll || showNsfwOnly; return (
@@ -605,18 +606,20 @@ const BoardsList = ({ multisub }: { multisub: MultisubSubplebbit[] }) => { )} {/* Column 6: Meta */} -
-

Multiboards

- -
    -
  • - All 5chan Directories -
  • -
  • - Subscriptions -
  • -
-
+ {showMultiboards && ( +
+

Multiboards

+ +
    +
  • + All 5chan Directories +
  • +
  • + Subscriptions +
  • +
+
+ )}
);