Merge pull request #31 from HideyoshiNakazone/fixes-cookie-popup
Fixes cookie popup
This commit is contained in:
11
angular.json
11
angular.json
@@ -75,9 +75,14 @@
|
||||
"defaultConfiguration": "production"
|
||||
},
|
||||
"serve": {
|
||||
"builder": "@angular-builders/custom-webpack:dev-server",
|
||||
"options": {
|
||||
"browserTarget": "frontend-hideyoshi.com:build:build"
|
||||
"builder": "@angular-devkit/build-angular:dev-server",
|
||||
"configurations": {
|
||||
"production": {
|
||||
"browserTarget": "frontend-hideyoshi.com:build:production"
|
||||
},
|
||||
"development": {
|
||||
"browserTarget": "frontend-hideyoshi.com:build:development"
|
||||
}
|
||||
},
|
||||
"defaultConfiguration": "development"
|
||||
},
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user