= (props) => {
const accountAction = props.accountAction || reblogElement;
- const inReview = actualStatus.visibility === 'self';
+ const isUnderReview = actualStatus.visibility === 'self';
const isSensitive = actualStatus.hidden;
return (
@@ -354,11 +354,11 @@ const Status: React.FC
= (props) => {
- {(inReview || isSensitive) && (
+ {(isUnderReview || isSensitive) && (
= (props) => {
- {!hideActionBar && (
+ {(!hideActionBar && !isUnderReview) && (
diff --git a/app/soapbox/features/status/index.tsx b/app/soapbox/features/status/index.tsx
index dbcc373ee..2d419ca84 100644
--- a/app/soapbox/features/status/index.tsx
+++ b/app/soapbox/features/status/index.tsx
@@ -134,6 +134,7 @@ const Thread: React.FC = (props) => {
const me = useAppSelector(state => state.me);
const status = useAppSelector(state => getStatus(state, { id: props.params.statusId }));
const displayMedia = settings.get('displayMedia') as DisplayMedia;
+ const isUnderReview = status?.visibility === 'self';
const { ancestorsIds, descendantsIds } = useAppSelector(state => {
let ancestorsIds = ImmutableOrderedSet();
@@ -412,7 +413,7 @@ const Thread: React.FC = (props) => {
if (next && status) {
dispatch(fetchNext(status.id, next)).then(({ next }) => {
setNext(next);
- }).catch(() => {});
+ }).catch(() => { });
}
}, 300, { leading: true }), [next, status]);
@@ -475,14 +476,18 @@ const Thread: React.FC = (props) => {
onOpenCompareHistoryModal={handleOpenCompareHistoryModal}
/>
-
+ {!isUnderReview ? (
+ <>
+
-
+
+ >
+ ) : null}