Skip to content

Commit

Permalink
fix: add icons (apache#15122)
Browse files Browse the repository at this point in the history
* added alerts

* revisions

* added icon
  • Loading branch information
AAfghahi committed Jun 11, 2021
1 parent 5cb4871 commit dbbf58c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,7 @@ const DatabaseModal: FunctionComponent<DatabaseModalProps> = ({
))}
</Select>
<Alert
showIcon
css={(theme: SupersetTheme) => antDAlertStyles(theme)}
type="info"
message={t('Want to add a new database?')}
Expand Down Expand Up @@ -532,6 +533,7 @@ const DatabaseModal: FunctionComponent<DatabaseModalProps> = ({
<Alert
css={(theme: SupersetTheme) => antDAlertStyles(theme)}
message="Additional fields may be required"
showIcon
description={
<>
Select databases require additional fields to be completed in
Expand All @@ -548,7 +550,6 @@ const DatabaseModal: FunctionComponent<DatabaseModalProps> = ({
</>
}
type="info"
showIcon
/>
)}
</StyledBasicTab>
Expand Down Expand Up @@ -660,6 +661,7 @@ const DatabaseModal: FunctionComponent<DatabaseModalProps> = ({
<Alert
css={(theme: SupersetTheme) => antDAlertStyles(theme)}
type="info"
showIcon
message={t('Whitelisting IPs')}
description={connectionAlert.WHITELISTED_IPS}
/>
Expand Down

0 comments on commit dbbf58c

Please sign in to comment.