From 670d6b7c65e9c2514052df34b9e5b7549792042d Mon Sep 17 00:00:00 2001
From: mgabdev <>
Date: Wed, 13 Jan 2021 21:46:49 -0500
Subject: [PATCH] Updated StatusList to show SignUpPanel at end of list if no
user exists
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
• Updated:
- StatusList to show SignUpPanel at end of list if no user exists
---
app/javascript/gabsocial/components/status_list.js | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/app/javascript/gabsocial/components/status_list.js b/app/javascript/gabsocial/components/status_list.js
index b8150df2..7f6fc00c 100644
--- a/app/javascript/gabsocial/components/status_list.js
+++ b/app/javascript/gabsocial/components/status_list.js
@@ -18,12 +18,15 @@ import {
scrollTopTimeline,
forceDequeueTimeline,
} from '../actions/timelines'
+import { SignUpPanel } from '../features/ui/util/async_components'
+import WrappedBundle from '../features/ui/util/wrapped_bundle'
import { showTimelineInjection } from '../actions/timeline_injections'
import { fetchStatus, fetchContext } from '../actions/statuses'
import StatusContainer from '../containers/status_container'
import StatusPlaceholder from './placeholder/status_placeholder'
import ScrollableList from './scrollable_list'
import Comment from './comment'
+import Text from './text'
import TimelineQueueButtonHeader from './timeline_queue_button_header'
import TimelineInjectionBase from './timeline_injections/timeline_injection_base'
import TimelineInjectionRoot from './timeline_injections/timeline_injection_root'
@@ -282,7 +285,7 @@ class StatusList extends ImmutablePureComponent {
)).concat(scrollableContent)
}
- if (canShowEmptyContent) {
+ if (canShowEmptyContent && !!me) {
emptyContent = [