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

Prevent JSON parse error #827

Merged
merged 2 commits into from
Mar 11, 2021
Merged

Prevent JSON parse error #827

merged 2 commits into from
Mar 11, 2021

Commits on Mar 9, 2021

  1. Prevent JSON parse error

    Users can pass in `{ enabled: true }` as the sortOptions, which means `initialSortBy` would be `undefined` and `JSON.parse` throws an error when you hand it `undefined`. So we need to default the value if it is not present.
    TheJaredWilcurt authored Mar 9, 2021
    Configuration menu
    Copy the full SHA
    9f64ec3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    703fc26 View commit details
    Browse the repository at this point in the history