From e40a12d56670885567f292bcb408e5672e8e3b8c Mon Sep 17 00:00:00 2001 From: Xyphyn Date: Tue, 25 Jul 2023 11:45:55 -0700 Subject: [PATCH] fix: Fix major bug that prevents 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 184aa8c1..0b4fda4b 100644 --- a/src/lib/components/lemmy/post/PostForm.svelte +++ b/src/lib/components/lemmy/post/PostForm.svelte @@ -75,7 +75,7 @@ }) async function submit() { - if (!(!data.community && edit) || !data.title || !$authData) return + if ((!data.community && !edit) || !data.title || !$authData) return data.loading = true