eschutho commented on a change in pull request #13877:
URL: https://github.com/apache/superset/pull/13877#discussion_r605269863
##########
File path: superset-frontend/src/views/CRUD/data/database/DatabaseModal.tsx
##########
@@ -587,7 +639,7 @@ const DatabaseModal: FunctionComponent<DatabaseModalProps>
= ({
<IndeterminateCheckbox
id="impersonate_user"
indeterminate={false}
- checked={db ? !!db.impersonate_user : false}
+ checked={!!db?.impersonate_user}
onChange={onInputChange}
/>
<div>{t('Impersonate Logged In User (Presto & Hive)')}</div>
Review comment:
you may want to move all of these into `labelText` as well.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]