mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix(board buttons): don't show subscribe button in multiboards
This commit is contained in:
@@ -117,9 +117,11 @@ export const DesktopBoardButtons = () => {
|
|||||||
<CatalogButton address={subplebbitAddress} isInAllView={isInAllView} isInSubscriptionsView={isInSubscriptionsView} />
|
<CatalogButton address={subplebbitAddress} isInAllView={isInAllView} isInSubscriptionsView={isInSubscriptionsView} />
|
||||||
] [
|
] [
|
||||||
<OptionsButton />]{' '}
|
<OptionsButton />]{' '}
|
||||||
<span className={styles.subscribeButton}>
|
{isInPostView && (
|
||||||
[<SubscribeButton address={subplebbitAddress} />]
|
<span className={styles.subscribeButton}>
|
||||||
</span>
|
[<SubscribeButton address={subplebbitAddress} />]
|
||||||
|
</span>
|
||||||
|
)}
|
||||||
</>
|
</>
|
||||||
) : isInCatalogView ? (
|
) : isInCatalogView ? (
|
||||||
<>
|
<>
|
||||||
@@ -129,9 +131,11 @@ export const DesktopBoardButtons = () => {
|
|||||||
<OptionsButton />
|
<OptionsButton />
|
||||||
] [
|
] [
|
||||||
<RefreshButton />]{' '}
|
<RefreshButton />]{' '}
|
||||||
<span className={styles.subscribeButton}>
|
{!(isInAllView || isInSubscriptionsView) && (
|
||||||
[<SubscribeButton address={subplebbitAddress} />]
|
<span className={styles.subscribeButton}>
|
||||||
</span>
|
[<SubscribeButton address={subplebbitAddress} />]
|
||||||
|
</span>
|
||||||
|
)}
|
||||||
</>
|
</>
|
||||||
) : (
|
) : (
|
||||||
<>
|
<>
|
||||||
|
|||||||
Reference in New Issue
Block a user