Skip to content

Commit 026ca91

Browse files
authored
Merge pull request #96 from Sybit-Education/fix/remove-console-logs
Removed logs + unused const local = ...
2 parents bc6c590 + c7d25d5 commit 026ca91

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

src/app/components/map/map.component.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,6 @@ export class MapComponent implements OnInit {
6868

6969
this.airtableService.getActivityList().subscribe(activities => {
7070
activities.forEach(activity => {
71-
const local = this.getBookmarked(activity.osm_id);
72-
console.log(`Activity: ${activity.name}, Bookmarked: ${local}, Color: ${activity.type.color}`);
73-
7471
const feature = new Feature({
7572
geometry: new Point(fromLonLat([activity.longitude, activity.latitude])),
7673
activity: activity

src/app/features/favorites/favorites.component.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,8 @@ export class FavoritesComponent {
3434
for(const activity of this.airtable.activities) {
3535
if(savedLocations.includes(activity.osm_id)) bookmarks.push(activity)
3636
}
37-
console.log("Bookmarks:\n" + bookmarks)
3837
return bookmarks;
3938
} else {
40-
console.log("No bookmarks found!")
4139
return [];
4240
}
4341
}

0 commit comments

Comments
 (0)