Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Kriese-Dominik-Allianz committed Apr 30, 2024
1 parent c1a211b commit f25ebaf
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 15 deletions.
4 changes: 3 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@
/coverage
/.angular

/.nx/cache
/.nx/cache

/apps/basics
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ exports[`Location: A user viewing the component should see a consistent layout i
placeholder="Enter location"
/>
<mat-error>
Please enter a location before searching!
Please enter a location before searching!
</mat-error>
</mat-form-field>
<button
Expand All @@ -40,9 +40,11 @@ exports[`Location: A user viewing the component should see a consistent layout w
<mock-render>
<cntws-location>
<mat-card>
<mat-card-subtitle>
Current saved location: Stuttgart
</mat-card-subtitle>
<mat-card-header>
<mat-card-subtitle>
Current saved location: Stuttgart
</mat-card-subtitle>
</mat-card-header>
<mat-card-content>
<form
class="flex content-center flex-col"
Expand All @@ -59,7 +61,7 @@ exports[`Location: A user viewing the component should see a consistent layout w
placeholder="Enter location"
/>
<mat-error>
Please enter a location before searching!
Please enter a location before searching!
</mat-error>
</mat-form-field>
<button
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<mat-card>
<mat-card-header>
<mat-card-subtitle *ngIf="defaultLocation">Current saved location: {{ defaultLocation }}</mat-card-subtitle>
<mat-card-header *ngIf="defaultLocation">
<mat-card-subtitle>Current saved location: {{ defaultLocation }}</mat-card-subtitle>
</mat-card-header>
<mat-card-content>
<form *ngIf="form" [formGroup]="form" (ngSubmit)="startSearch()" class="flex content-center flex-col">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ exports[`Weather Results: A user viewing their results should see a consistent l
<mat-card
id="location-Stuttgart"
>
<mat-card-title>
Stuttgart
</mat-card-title>
<mat-card-header>
<mat-card-title>
Stuttgart
</mat-card-title>
</mat-card-header>
<mat-divider />
<mat-card-content>
The current temperature is: 25 °C
Expand All @@ -26,9 +28,11 @@ exports[`Weather Results: A user viewing their results should see a consistent l
<mat-card
id="location-Freiburg"
>
<mat-card-title>
Freiburg
</mat-card-title>
<mat-card-header>
<mat-card-title>
Freiburg
</mat-card-title>
</mat-card-header>
<mat-divider />
<mat-card-content>
The current temperature is: 22 °C
Expand Down
2 changes: 1 addition & 1 deletion server/db.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"mainLocation": {
"name": "Stuttgart"
"name": ""
},
"locations": [
{
Expand Down

0 comments on commit f25ebaf

Please sign in to comment.