From d0c22e3a37d39f07c1b17a7fe8d972c8c5e57eeb Mon Sep 17 00:00:00 2001 From: Maxim Tsoy Date: Tue, 7 Jan 2025 10:27:25 +0100 Subject: [PATCH] Fix an exception in the test extension when filterlist is disabled (#584) --- lib/web.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/web.ts b/lib/web.ts index ae3cd7ea..47ba9ac8 100644 --- a/lib/web.ts +++ b/lib/web.ts @@ -545,7 +545,7 @@ export default class AutoConsent { } filterListFallback() { - if (!BUNDLE_FILTERLIST) { + if (!BUNDLE_FILTERLIST || !this.filtersEngine) { this.updateState({ lifecycle: 'nothingDetected' }); return false; }