From 5f3aef6b3bee0eb33314455069079986c05ed253 Mon Sep 17 00:00:00 2001
From: mgabdev <>
Date: Mon, 10 Aug 2020 22:00:35 -0500
Subject: [PATCH] Fixed issue with GroupCreate showing error
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
• Fixed:
- issue with GroupCreate showing error
---
app/javascript/gabsocial/features/group_create.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/javascript/gabsocial/features/group_create.js b/app/javascript/gabsocial/features/group_create.js
index 24ff2c2f..3edca06b 100644
--- a/app/javascript/gabsocial/features/group_create.js
+++ b/app/javascript/gabsocial/features/group_create.js
@@ -227,7 +227,7 @@ class GroupCreate extends ImmutablePureComponent {
if (!group && groupId) {
return
- } else if ((!group && error) || !isAdmin) {
+ } else if ((!group && error) || (groupId && !isAdmin)) {
return
}