Update packages/cookie-banner/src/client.ts
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com> Signed-off-by: Émile Ré <nemile.re@gmail.com> Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
@@ -235,9 +235,7 @@ export class CookieBannerClient {
|
|||||||
action: ConsentAction,
|
action: ConsentAction,
|
||||||
consentData: Record<string, boolean>,
|
consentData: Record<string, boolean>,
|
||||||
): void {
|
): void {
|
||||||
if (action !== "GPC") {
|
this._gpcApplied = action === "GPC";
|
||||||
this._gpcApplied = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
const cfg = this.config;
|
const cfg = this.config;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user