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

Delete model bug #362

Merged
merged 7 commits into from
Apr 14, 2020
Merged

Delete model bug #362

merged 7 commits into from
Apr 14, 2020

Conversation

leoarc
Copy link
Contributor

@leoarc leoarc commented Apr 13, 2020

Fixes #361
It was caused as all the delete model buttons were being assigned the same id . So when one was clicked all of them were triggered.

This PR also makes the check duplicate name feature compatible with the delete feature . Earlier even after deleting the model, that name couldn't be used again. Now it when the model is deleted the name is also deleted and can be reused .

@birm birm self-requested a review April 13, 2020 17:26
@birm
Copy link
Member

birm commented Apr 13, 2020

Would you mind applying the same fix to chngClassListBtn?

@leoarc
Copy link
Contributor Author

leoarc commented Apr 13, 2020

My bad , I should have done that already.

apps/model/model.js Outdated Show resolved Hide resolved
@birm birm self-requested a review April 14, 2020 01:22
Copy link
Member

@birm birm left a comment

Choose a reason for hiding this comment

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

Thanks for the fix(es)!

@birm birm merged commit ed2ee60 into camicroscope:develop Apr 14, 2020
@birm birm mentioned this pull request Apr 17, 2020
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