-
Notifications
You must be signed in to change notification settings - Fork 2.8k
misc console fixes #3813
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
misc console fixes #3813
Conversation
|
Review app for commit 528b0c9 deployed to Heroku: https://hge-ci-pull-3813.herokuapp.com |
| } else { | ||
| notificationMessage = error.message; | ||
| } | ||
| } else if (error && error.message && isString(error.message)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to check for error because it is already done in line 35.
| } | ||
| } else { | ||
| checked = false; | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about doing let checked = false so the else statement can be removed?
let checked = false;
if (permissionsState[query]) {
const permittedFields = permissionsState[query][fieldType] || [];
if (permittedFields === '*') {
checked = true;
} else {
checked = permittedFields.includes(fieldName);
}
} |
Review app for commit cff6f0d deployed to Heroku: https://hge-ci-pull-3813.herokuapp.com |
|
Review app https://hge-ci-pull-3813.herokuapp.com is deleted |
* handle string errors * handle empty columns / computed fields in permissions (hasura#3789) * allow is_null for all operators (hasura#3777)
Description
Affected components
Related Issues
#3789, #3777, #3808
Solution and Design
Steps to test and verify
Limitations, known bugs & workarounds