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 disappearing columns for no data #2167

Merged
merged 1 commit into from
Jan 28, 2019
Merged

Conversation

magicznyleszek
Copy link
Member

Description

Ensures survey rows (for table columns) are always included - even if all current submissions have no values.

Related issues

Fixes #2153


// make sure the survey columns are displayed, even if current data's
// submissions doesn't have them
let uniqueKeys = [...new Set([...dataKeys, ...surveyKeys])];
Copy link
Member

Choose a reason for hiding this comment

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

🌈

@jnm jnm merged commit c735297 into master Jan 28, 2019
@jnm jnm deleted the 2153-table-header-sort-fix branch January 28, 2019 06:45
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.

None yet

2 participants