From ebb5deb43c94701b8deba31eb868d79e0c31f7bf Mon Sep 17 00:00:00 2001 From: wukko Date: Fri, 30 Aug 2024 17:25:31 +0600 Subject: [PATCH] web/safety-warning: remove misplaced comparison --- web/src/lib/api/safety-warning.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/lib/api/safety-warning.ts b/web/src/lib/api/safety-warning.ts index 5bb2b751..d2e1c573 100644 --- a/web/src/lib/api/safety-warning.ts +++ b/web/src/lib/api/safety-warning.ts @@ -62,7 +62,7 @@ export const apiOverrideWarning = async () => { } export const customInstanceWarning = async () => { - if (env.DEFAULT_API && !get(settings).processing.seenCustomWarning) { + if (!get(settings).processing.seenCustomWarning) { let _actions: { resolve: () => void; reject: () => void;