mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
only show state string if state is not 'succeeded'
This commit is contained in:
@@ -459,7 +459,7 @@ const PostDesktop = ({ openReplyModal, post, roles, showAllReplies, showReplies
|
|||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
{!isInPendingPostView &&
|
{!isInPendingPostView &&
|
||||||
(stateString && stateString !== 'Failed' ? (
|
(stateString && stateString !== 'Failed' && state !== 'succeeded' ? (
|
||||||
<div className={styles.stateString}>
|
<div className={styles.stateString}>
|
||||||
<br />
|
<br />
|
||||||
<LoadingEllipsis string={stateString} />
|
<LoadingEllipsis string={stateString} />
|
||||||
|
|||||||
@@ -374,7 +374,7 @@ const PostMobile = ({ openReplyModal, post, roles, showAllReplies, showReplies =
|
|||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
{!isInPendingPostView &&
|
{!isInPendingPostView &&
|
||||||
(stateString && stateString !== 'Failed' ? (
|
(stateString && stateString !== 'Failed' && state !== 'succeeded' ? (
|
||||||
<div className={styles.stateString}>
|
<div className={styles.stateString}>
|
||||||
<LoadingEllipsis string={stateString} />
|
<LoadingEllipsis string={stateString} />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user