feat: disable community creation on sites with it disabled
This commit is contained in:
1 parent
8484ff5ed7
commit
8192239dc3
3 files changed
+18
-12
No files matched your search
@@ -157,7 +157,8 @@
|
||||
<MenuButton
|
||||
link
|
||||
href="/create/community"
|
||||
disabled={$profile?.jwt == undefined}
|
||||
disabled={$profile?.jwt == undefined ||
|
||||
$site?.site_view.local_site.community_creation_admin_only}
|
||||
>
|
||||
<Icon src={Newspaper} mini width={16} />
|
||||
Community
|
||||
|
||||
Reference in new issue
Block a user