From fd9f7aafcf950bfd5814fd3ef244f8f1e6bc963c Mon Sep 17 00:00:00 2001 From: Inbestigator Date: Fri, 8 Mar 2024 23:38:58 -0800 Subject: [PATCH] Welfare --- src/plugins/bypassDND/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/bypassDND/index.tsx b/src/plugins/bypassDND/index.tsx index 2e6c5bc6b..823ba707d 100644 --- a/src/plugins/bypassDND/index.tsx +++ b/src/plugins/bypassDND/index.tsx @@ -44,7 +44,7 @@ function ContextCallback(name: "guild" | "user" | "channel"): NavContextMenuPatc let bypasses: string[] = settings.store[`${name}s`].split(", "); if (enabled) bypasses = bypasses.filter(id => id !== type.id); else bypasses.push(type.id); - settings.store[`${name}s`] = bypasses.join(", "); + settings.store[`${name}s`] = bypasses.filter(id => id.trim() !== "").join(", "); }} />