mirror of
https://github.com/apache/superset.git
synced 2026-04-26 03:24:53 +00:00
Migrates Label component from Bootstrap to AntD. (#12774)
This commit is contained in:
committed by
GitHub
parent
388edbf7b2
commit
2adfb85597
@@ -71,7 +71,7 @@ import ShareSqlLabQuery from './ShareSqlLabQuery';
|
||||
import SqlEditorLeftBar from './SqlEditorLeftBar';
|
||||
import AceEditorWrapper from './AceEditorWrapper';
|
||||
import {
|
||||
STATE_BSSTYLE_MAP,
|
||||
STATE_TYPE_MAP,
|
||||
SQL_EDITOR_GUTTER_HEIGHT,
|
||||
SQL_EDITOR_GUTTER_MARGIN,
|
||||
SQL_TOOLBAR_HEIGHT,
|
||||
@@ -575,7 +575,7 @@ class SqlEditor extends React.PureComponent {
|
||||
this.props.latestQuery.rows,
|
||||
)}
|
||||
>
|
||||
<Label bsStyle="warning">LIMIT</Label>
|
||||
<Label type="warning">LIMIT</Label>
|
||||
</Tooltip>
|
||||
);
|
||||
}
|
||||
@@ -670,7 +670,7 @@ class SqlEditor extends React.PureComponent {
|
||||
<Timer
|
||||
startTime={this.props.latestQuery.startDttm}
|
||||
endTime={this.props.latestQuery.endDttm}
|
||||
state={STATE_BSSTYLE_MAP[this.props.latestQuery.state]}
|
||||
state={STATE_TYPE_MAP[this.props.latestQuery.state]}
|
||||
isRunning={this.props.latestQuery.state === 'running'}
|
||||
/>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user