Skip to content

Commit

Permalink
Convert superset-frontend/src/views/CRUD/data/database/DatabaseModal/…
Browse files Browse the repository at this point in the history
…DatabaseConnectionForm/EncryptedField.tsx
  • Loading branch information
codyml committed Jan 23, 2023
1 parent f4fe20e commit ca811e4
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { SupersetTheme, t } from '@superset-ui/core';
import { AntdButton, AntdSelect } from 'src/components';
import InfoTooltip from 'src/components/InfoTooltip';
import FormLabel from 'src/components/Form/FormLabel';
import { DeleteFilled } from '@ant-design/icons';
import Icons from 'src/components/Icons';
import { FieldPropTypes } from '.';
import { infoTooltip, labelMarginBotton, CredentialInfoForm } from '../styles';

Expand Down Expand Up @@ -152,7 +152,8 @@ export const EncryptedField = ({
{fileToUpload && (
<div className="input-upload-current">
{fileToUpload}
<DeleteFilled
<Icons.DeleteFilled
iconSize="m"
onClick={() => {
setFileToUpload(null);
changeMethods.onParametersChange({
Expand Down

0 comments on commit ca811e4

Please sign in to comment.