From 2d991fc4a21c3029513e57536d36343a8a8d1c21 Mon Sep 17 00:00:00 2001 From: Xylight <80978739+Xyphyn@users.noreply.github.com> Date: Tue, 27 Feb 2024 15:23:05 +0000 Subject: [PATCH] fix: posting --- src/lib/components/lemmy/post/PostForm.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/lemmy/post/PostForm.svelte b/src/lib/components/lemmy/post/PostForm.svelte index 712464d2..c006e7ba 100644 --- a/src/lib/components/lemmy/post/PostForm.svelte +++ b/src/lib/components/lemmy/post/PostForm.svelte @@ -74,7 +74,7 @@ }) async function submit() { - if ((!data.community || communitySearch == '') && !edit) { + if ((!data.community) && !edit) { toast({ type: 'warning', content: 'You need to set a community.',