diff --git a/src/components/board-buttons/board-buttons.tsx b/src/components/board-buttons/board-buttons.tsx index 33b5c4ba..7c9836be 100644 --- a/src/components/board-buttons/board-buttons.tsx +++ b/src/components/board-buttons/board-buttons.tsx @@ -300,11 +300,17 @@ export const MobileBoardButtons = () => { const { filteredCount, searchText } = useCatalogFiltersStore(); + // Check if we should show the vote button (only for directory boards) + const defaultSubplebbits = useDefaultSubplebbits(); + const boardIdentifier = params.boardIdentifier || params.subplebbitAddress; + const showVoteButton = boardIdentifier && isDirectoryBoard(boardIdentifier, defaultSubplebbits); + return (
{isInPostView || isInPendingPostPage ? ( <> + {showVoteButton && }
@@ -319,6 +325,7 @@ export const MobileBoardButtons = () => { ) : ( )} + {showVoteButton && } {!(isInAllView || isInSubscriptionsView || isInModView) && } {isInCatalogView && searchText ? (