From 2db8d7123117b4d2232b974589675f7a4d0dfd09 Mon Sep 17 00:00:00 2001 From: Cyril Joseph Date: Sun, 27 Jul 2025 16:50:25 -0300 Subject: [PATCH] ui feedback updates --- src/app/app.component.html | 2 +- .../travel-plan/travel-plan.component.ts | 4 ++ src/app/common/footer/footer.component.html | 2 +- src/app/common/footer/footer.component.scss | 25 +++++-- src/app/common/footer/footer.component.ts | 6 +- .../secured-header.component.scss | 51 ++++++++++---- src/styles.scss | 68 ++++++++++++++++++- 7 files changed, 130 insertions(+), 28 deletions(-) diff --git a/src/app/app.component.html b/src/app/app.component.html index ac1b298..41b409a 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -4,4 +4,4 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/app/carnet/travel-plan/travel-plan.component.ts b/src/app/carnet/travel-plan/travel-plan.component.ts index d375614..66b60d3 100644 --- a/src/app/carnet/travel-plan/travel-plan.component.ts +++ b/src/app/carnet/travel-plan/travel-plan.component.ts @@ -107,6 +107,8 @@ export class TravelPlanComponent { visits: this.visitsCount }); } + + this.visitsCount = 1; } fyiAction(country: Country): void { @@ -166,6 +168,7 @@ export class TravelPlanComponent { dialogRef.afterClosed().subscribe(result => { if (result) { + this.transitsCount = this.visitsCount; this.selectedAvailableTransitCountry = this.selectedAvailableVisitCountry; this.addVisitCountryToCollection(); this.addTransitCountryToCollection(); @@ -192,6 +195,7 @@ export class TravelPlanComponent { visits: this.transitsCount }); } + this.transitsCount = 1; } IsCountryExists(countryType: string, country: Country): boolean { diff --git a/src/app/common/footer/footer.component.html b/src/app/common/footer/footer.component.html index 7f3012d..0a8b626 100644 --- a/src/app/common/footer/footer.component.html +++ b/src/app/common/footer/footer.component.html @@ -1,4 +1,4 @@ -