Skip to content

Commit 3f6e7fd

Browse files
Merge pull request #72 from Sybit-Education/fea/country
Country Service and Activity Type
2 parents e2128b7 + 03a191b commit 3f6e7fd

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

src/app/components/detail/detail.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<div class="text p-4 bg-gray-100 rounded-lg shadow-md">
22
<div class="headline text-2xl font-bold text-gray-800">
3-
{{ activity?.name }}
3+
{{ activity?.name }} | {{ activity?.type?.name }}
44
</div>
55
<div class="adresse mt-2 text-gray-600">
6-
<p>{{activity?.street}} {{activity?.number}}, {{activity?.zip}} {{activity?.city}}</p>
6+
<p>{{activity?.street}} {{activity?.number}}, {{activity?.zip}} {{activity?.city}} {{activity?.country}}</p>
77
</div>
88
@if (activity?.age_restriction) {
99
<div class="minimal-age mt-2 text-red-500">

src/app/services/airtable.service.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ export class AirtableService {
7373
number: record.fields['number'] as string,
7474
zip: record.fields['zip'] as string,
7575
city: record.fields['city'] as string,
76+
country: record.fields['country'] as string,
7677
latitude: record.fields['latitude'] as number,
7778
longitude: record.fields['longitude'] as number,
7879
website: record.fields['website'] as string,

src/app/types/activity.interface.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export interface Activity {
99
number?: string;
1010
zip: string;
1111
city: string;
12+
country: string;
1213
latitude: number;
1314
longitude: number;
1415
website?: string;

src/app/types/interest.interface.ts

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)