Skip to content

[SDAN-409] Fixing nested query for different filters. #662

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

Merged
merged 2 commits into from
Jan 13, 2019

Conversation

mdhaman
Copy link

@mdhaman mdhaman commented Jan 10, 2019

No description provided.

@@ -8,7 +8,7 @@ import AgendaCoverages from './AgendaCoverages';

export default function AgendaPreviewCoverages({item, currentCoverage, previousCoverage}) {
return (
!isEmpty(currentCoverage) || !isEmpty(previousCoverage) && <Fragment>
<Fragment>
Copy link
Contributor

@akintolga akintolga Jan 10, 2019

Choose a reason for hiding this comment

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

I previously added this check to prevent this error which was happenning locally: https://github.com/facebook/react/issues/12964

Copy link
Author

@mdhaman mdhaman Jan 10, 2019

Choose a reason for hiding this comment

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

I couldn't see any errors locally I have React 16.6. Error is fixed in 16.4.1. I will change the code to return null if current and previous coverages are empty.

@mdhaman mdhaman merged commit 1e897c3 into superdesk:master Jan 13, 2019
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