Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #972 Add country flags at username #1033

Merged
merged 3 commits into from
Sep 16, 2020

Conversation

alromh87
Copy link
Collaborator

@alromh87 alromh87 commented Sep 5, 2020

Display of flags for HowTos (List and detail) implemented

TODO: Create firestore trigger to update when user changes location
Captura de pantalla de 2020-09-06 03-48-56
Captura de pantalla de 2020-09-06 03-45-24

Display of flags for HowTos (List and detail) implemented

TODO: Create firestore trigger to update when user changes location
@cypress
Copy link

cypress bot commented Sep 6, 2020



Test summary

60 0 0 0


Run details

Project onearmy-community-platform
Status Passed
Commit 9d69944 ℹ️
Started Sep 15, 2020 10:05 AM
Ended Sep 15, 2020 10:10 AM
Duration 05:26 💡
OS Linux Ubuntu Linux - 16.04
Browser Multiple

View run in Cypress Dashboard ➡️


This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

@BenGamma BenGamma merged commit a308a8f into ONEARMY:master Sep 16, 2020
if(querySnapshot){
querySnapshot.forEach(doc => {
console.log('Updating howTo ', doc.data()._id, 'to', country);
doc.ref.update({'_creatorCountry': country}).then( () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't you remove the _ on _creatorCountry here as well ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Your right thank you

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