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: only run empty check after all values have been added #285

Merged
merged 1 commit into from
Feb 7, 2020

Conversation

janhenrikoverland
Copy link
Collaborator

Data array was attempted emptied on every iteration, causing a mismatch between data/categories when there were initial empty values. Moving the empty check out of the loop.

@janhenrikoverland janhenrikoverland merged commit 6ee424d into master Feb 7, 2020
@janhenrikoverland janhenrikoverland deleted the fix/periods-without-data branch February 7, 2020 07:36
dhis2-bot added a commit that referenced this pull request Feb 7, 2020
## [3.1.2](v3.1.1...v3.1.2) (2020-02-07)

### Bug Fixes

* only run empty check after all values have been added ([#285](#285)) ([6ee424d](6ee424d))
@dhis2-bot
Copy link
Contributor

🎉 This PR is included in version 3.1.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

3 participants