From b12e66ef88c05eb316a147aa68138f6d1c016c27 Mon Sep 17 00:00:00 2001
From: mgabdev <>
Date: Tue, 3 Nov 2020 13:12:11 -0600
Subject: [PATCH] Updated SidebarLayout compose button styles and hide if no
user
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
• Updated:
- SidebarLayout compose button styles and hide if no user
---
.../components/sidebar/sidebar_layout.js | 38 +++++++++++--------
1 file changed, 22 insertions(+), 16 deletions(-)
diff --git a/app/javascript/gabsocial/components/sidebar/sidebar_layout.js b/app/javascript/gabsocial/components/sidebar/sidebar_layout.js
index e02fa8bc..e80dbeb7 100644
--- a/app/javascript/gabsocial/components/sidebar/sidebar_layout.js
+++ b/app/javascript/gabsocial/components/sidebar/sidebar_layout.js
@@ -91,23 +91,29 @@ class SidebarLayout extends React.PureComponent {
{children}
-
-
-
+ {
+ !!me &&
+
+
+
+ }
-
-
-
+ {
+ !!me &&
+
+
+
+ }