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: asset-profile-page overwriting formData from displayed data. #203

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Zuricos
Copy link

@Zuricos Zuricos commented Jan 14, 2025

I have discovered a bug in the "asset-profile-page" component.
Currently, the displayed data in the input fields of sector:weight and country:weight are used when new entries are added.
I.e. this will cause that the weigth will be 18 instead of 0.179 after adding a new entry.

With this change, this should no longer happen.

@afadil
Copy link
Owner

afadil commented Feb 2, 2025

Hi @Zuricos, thank you for this contribution. I Think that with the proposed update, it's no more possible to delete a sector.

@Zuricos
Copy link
Author

Zuricos commented Feb 10, 2025

Hi @afadil , thanks for your feedback, I will look into it, probably this week, and will come back with a fix.

@Zuricos Zuricos force-pushed the fix/asset-profile-page-weight-formdata branch from de101fe to d8f26f3 Compare February 15, 2025 16:50
@Zuricos
Copy link
Author

Zuricos commented Feb 16, 2025

Hi @afadil,

This issue should now be resolved. However, I am unable to verify it on my end since I couldn't get the project to run locally, even when using the dev container.

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.

3 participants