From bf49537409c2bbfb424359402ce0a87c0ee34dc5 Mon Sep 17 00:00:00 2001 From: Vitor Hideyoshi Date: Fri, 13 Oct 2023 08:41:50 -0300 Subject: [PATCH 1/2] Fixes Ng Server Beforehand --- angular.json | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/angular.json b/angular.json index 26d1d85..8def314 100644 --- a/angular.json +++ b/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" }, From e258a5477b4f28d6677491e9b36248efa094fa25 Mon Sep 17 00:00:00 2001 From: Vitor Hideyoshi Date: Fri, 13 Oct 2023 09:10:00 -0300 Subject: [PATCH 2/2] 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(