Skip to content

Update project hookup (#401)#402

Closed
yzlucas wants to merge 1 commit intomainfrom
update-project-hookup
Closed

Update project hookup (#401)#402
yzlucas wants to merge 1 commit intomainfrom
update-project-hookup

Conversation

@yzlucas
Copy link
Collaborator

@yzlucas yzlucas commented Jan 8, 2025

Call PUT in project detail page, populate the forms accordingly

Copy link
Contributor

@agordon-vivid agordon-vivid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's get rid of those console logs


// Update the map and backend
this.updateMap(latitude, longitude);
console.log('Latitude/Longitude saved:', latitude, longitude);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remove

this.updateMap(latitude, longitude);
console.log('Latitude/Longitude saved:', latitude, longitude);
} else {
console.error('Latitude/Longitude form is invalid!');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we be doing something here to inform the user instead of putting in a console error?

}).pipe(
map((response: any) => response),
catchError((error) => {
console.error("Error update project", error);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remove

@yzlucas
Copy link
Collaborator Author

yzlucas commented Jan 9, 2025

move to another PR. Close this one

@yzlucas yzlucas closed this Jan 9, 2025
@sukhpalp sukhpalp deleted the update-project-hookup branch January 16, 2026 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants