mirror of
https://github.com/apache/superset.git
synced 2026-04-20 08:34:37 +00:00
committed by
GitHub
parent
7ee8d114d2
commit
42ab57850d
@@ -23,7 +23,8 @@ import React, {
|
||||
useEffect,
|
||||
useCallback,
|
||||
} from 'react';
|
||||
import { Alert, FormControl, FormControlProps } from 'react-bootstrap';
|
||||
import { FormControl, FormControlProps } from 'react-bootstrap';
|
||||
import Alert from 'src/components/Alert';
|
||||
import { SupersetClient, t, styled } from '@superset-ui/core';
|
||||
import TableView, { EmptyWrapperType } from 'src/components/TableView';
|
||||
import StyledModal from 'src/common/components/Modal';
|
||||
@@ -246,9 +247,14 @@ const ChangeDatasourceModal: FunctionComponent<ChangeDatasourceModalProps> = ({
|
||||
<>
|
||||
{!confirmChange && (
|
||||
<>
|
||||
<Alert bsStyle="warning">
|
||||
<strong>{t('Warning!')}</strong> {CHANGE_WARNING_MSG}
|
||||
</Alert>
|
||||
<Alert
|
||||
type="warning"
|
||||
message={
|
||||
<>
|
||||
<strong>{t('Warning!')}</strong> {CHANGE_WARNING_MSG}
|
||||
</>
|
||||
}
|
||||
/>
|
||||
<div>
|
||||
<FormControl
|
||||
inputRef={ref => {
|
||||
|
||||
Reference in New Issue
Block a user