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: edit frontend #7

Merged
merged 2 commits into from
Dec 22, 2023
Merged

fix: edit frontend #7

merged 2 commits into from
Dec 22, 2023

Conversation

nicolasauler
Copy link
Collaborator

Previously, whenever updating is_essencial, it would only be able to update to true, because when checkbox is deselected, it is not sent as part of the http web request.
So, in serde, a default to false was added whenever no deserialization didn't happen.

Also, now, frontend shows the checkbox as a reflection of its state in the db.
Previsouly it was just being set to checked always.

Anyways, now edit should be working.

TODO: create expense!

@nicolasauler nicolasauler self-assigned this Dec 22, 2023
@nicolasauler nicolasauler merged commit 4bf6afc into main Dec 22, 2023
2 checks passed
@nicolasauler nicolasauler deleted the fix-edit-frontend branch December 22, 2023 23:12
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.

1 participant