From e258a5477b4f28d6677491e9b36248efa094fa25 Mon Sep 17 00:00:00 2001 From: Vitor Hideyoshi Date: Fri, 13 Oct 2023 09:10:00 -0300 Subject: [PATCH] Fixes Cookie Popup Behavior --- src/app/app.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 3ea41ac..07e3469 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -35,7 +35,7 @@ export class AppComponent implements OnInit { let cookieConsentStatus = this.cookieConsentService.getCookieConsentStatusFromLocalStorage(); if (cookieConsentStatus) { - this.ccService.fadeOut(); + this.ccService.destroy(); } this.cookieStatusChangeSubscription = this.ccService.statusChange$.subscribe(