Fixes Cookie Popup Behavior
This commit is contained in:
@@ -35,7 +35,7 @@ export class AppComponent implements OnInit {
|
|||||||
let cookieConsentStatus = this.cookieConsentService.getCookieConsentStatusFromLocalStorage();
|
let cookieConsentStatus = this.cookieConsentService.getCookieConsentStatusFromLocalStorage();
|
||||||
|
|
||||||
if (cookieConsentStatus) {
|
if (cookieConsentStatus) {
|
||||||
this.ccService.fadeOut();
|
this.ccService.destroy();
|
||||||
}
|
}
|
||||||
|
|
||||||
this.cookieStatusChangeSubscription = this.ccService.statusChange$.subscribe(
|
this.cookieStatusChangeSubscription = this.ccService.statusChange$.subscribe(
|
||||||
|
|||||||
Reference in New Issue
Block a user