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

Bug: Saving a new variant in side-to-side mode results in the deletion of unsaved variants #1046

Merged
merged 2 commits into from
Dec 13, 2023

Conversation

bekossy
Copy link
Member

@bekossy bekossy commented Dec 13, 2023

Description

Removes onAdd func which removes unsaved variants on save

Related Issue

Issue #1011

@bekossy bekossy requested a review from MohammedMaaz December 13, 2023 09:20
Copy link
Collaborator

@aakrem aakrem left a comment

Choose a reason for hiding this comment

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

Thanks @bekossy ! This fixes the bug!

@aakrem aakrem merged commit 6c475ae into main Dec 13, 2023
7 checks passed
@bekossy bekossy deleted the saving-variant-only-saves-last-unsaved-variant branch December 13, 2023 20:57
@MohammedMaaz
Copy link
Contributor

@bekossy sorry for the late review.

Did you confirm that after this change the variants were being saved correctly and show warning when unsaved in non-comparison mode? The onAdd function that you removed, I guess was there for some reason, I don't remember exactly why.

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