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

Correct original empty string won't trigger unsaved modal #724

Merged
merged 1 commit into from
May 13, 2024

Conversation

a110605
Copy link
Contributor

@a110605 a110605 commented May 9, 2024

Fix defect found by QA: longhorn/longhorn#7497 (comment)

if targetSettingOldValue is empty string or zero, the original logic won't record the unsaved change.

After fix

fixed.mp4

@a110605 a110605 requested a review from torchiaf May 9, 2024 09:16
@a110605 a110605 self-assigned this May 9, 2024
@a110605 a110605 changed the title fix: original empty string won't trigger modal Correct original empty string won't trigger modal May 9, 2024
@a110605 a110605 changed the title Correct original empty string won't trigger modal Correct original empty string won't trigger unsaved modal May 9, 2024
Signed-off-by: andy.lee <andy.lee@suse.com>
Copy link

@torchiaf torchiaf left a comment

Choose a reason for hiding this comment

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

LGTM

@a110605
Copy link
Contributor Author

a110605 commented May 13, 2024

Verified all settings change locally are good to trigger unsaved modal.

@a110605 a110605 merged commit af06f3e into longhorn:master May 13, 2024
5 checks passed
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