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(