This is an automated email from the ASF dual-hosted git repository. rusackas pushed a commit to branch SO-164 in repository https://gitbox.apache.org/repos/asf/superset.git
commit c42669825626b6b294130b185e7ef25c426ed76b Author: Isaac Jaynes <[email protected]> AuthorDate: Thu Jun 18 12:55:35 2026 -0700 fix(databases): extract credentialTextAreaCss to ensure Istanbul coverage --- .../databases/DatabaseModal/DatabaseConnectionForm/EncryptedField.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/superset-frontend/src/features/databases/DatabaseModal/DatabaseConnectionForm/EncryptedField.tsx b/superset-frontend/src/features/databases/DatabaseModal/DatabaseConnectionForm/EncryptedField.tsx index 834727c8d57..14accf3a3c0 100644 --- a/superset-frontend/src/features/databases/DatabaseModal/DatabaseConnectionForm/EncryptedField.tsx +++ b/superset-frontend/src/features/databases/DatabaseModal/DatabaseConnectionForm/EncryptedField.tsx @@ -62,6 +62,7 @@ export const EncryptedField = ({ getValidation, }: FieldPropTypes) => { const theme = useTheme() as SupersetTheme; + const credentialTextAreaCss = CredentialInfoFormTextArea(theme); const [fileList, setFileList] = useState<UploadFile[]>([]); const [uploadOption, setUploadOption] = useState<number>( CredentialInfoOptions.JsonUpload.valueOf(), @@ -195,7 +196,7 @@ export const EncryptedField = ({ onChange={changeMethods.onParametersChange} helpText={t('Add service credentials')} renderAsTextArea - textAreaCss={CredentialInfoFormTextArea(theme)} + textAreaCss={credentialTextAreaCss} /> ) : ( showCredentialsInfo && (
