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 bug in Embed mode #1

Merged
merged 1 commit into from
Feb 29, 2020
Merged

Fix bug in Embed mode #1

merged 1 commit into from
Feb 29, 2020

Conversation

matwright
Copy link
Owner

In Embed mode, the categoryIds and tagID's are not always (ever?) valid key names for the json array.
I have added null check so that these elements are ignored when null, as they currently cause the following exception:

errors.dart:147 Uncaught (in promise) Error: NoSuchMethodError: 'cast'

In Embed mode, the categoryIds and tagID's are not always (ever?) valid key names for the json array.
I have added null check so that these elements are ignored when null, as they currently cause the following exception:

errors.dart:147 Uncaught (in promise) Error: NoSuchMethodError: 'cast'
@matwright matwright merged commit 85c69b9 into master Feb 29, 2020
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.

1 participant