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: removing last zone was not reflected in full data #1740

Merged
merged 2 commits into from
Jun 2, 2024

Conversation

tkurki
Copy link
Member

@tkurki tkurki commented May 22, 2024

This changes the behavior of saving metadata so that an empty zones array resulting from removing the last, previously added zone, will be handled as null value. The code handling full model deals properly with nulls, while empty arrays are silently ignored as updates.

This changes the behavior of saving metadata so that an empty
zones array resulting from removing the last, previously added
zone, will be handled as null value. The code handling full
model deals properly with nulls, while empty arrays are
silently ignored as updates.
@tkurki tkurki added the fix label May 23, 2024
Set notification to 'normal' when zones field is reset to
null
@tkurki tkurki merged commit d152d9e into master Jun 2, 2024
4 checks passed
@tkurki tkurki deleted the fix-zones-removal branch June 2, 2024 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant