From 417729232010644d6617b31935378f7806158121 Mon Sep 17 00:00:00 2001 From: freamon Date: Tue, 20 Aug 2024 22:45:26 +0000 Subject: [PATCH] Bugfix for community edit form changing default_layout from None to '' and making the selection buttons disappear --- app/community/routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/community/routes.py b/app/community/routes.py index 5308f84a..81b49bbf 100644 --- a/app/community/routes.py +++ b/app/community/routes.py @@ -172,7 +172,7 @@ def show_community(community: Community): if low_bandwidth: post_layout = None else: - if community.default_layout is not None: + if community.default_layout is not None and community.default_layout != '': post_layout = request.args.get('layout', community.default_layout) else: post_layout = request.args.get('layout', 'list')