Skip to content

fix(table story element): fix breaking table story element#76

Merged
sinujohn91 merged 1 commit intomasterfrom
fix-table-element
Mar 28, 2019
Merged

fix(table story element): fix breaking table story element#76
sinujohn91 merged 1 commit intomasterfrom
fix-table-element

Conversation

@sinujohn91
Copy link
Contributor

@sinujohn91 sinujohn91 commented Mar 28, 2019

The regression came while a refactor was done to remove lodash.

render() {
const tableModData = this.state;
const tableModData = this.state.tableModData;
if (!get(tableModData, ['headerFields'], []).length > 0) {
Copy link
Contributor

@asimqt asimqt Mar 28, 2019

Choose a reason for hiding this comment

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

I think we could have remove tableModData altogether if it doesn't add any value

@sinujohn91 sinujohn91 merged commit 47d7aeb into master Mar 28, 2019
@delete-merged-branch delete-merged-branch bot deleted the fix-table-element branch March 28, 2019 11:43
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