mirror of
https://github.com/apache/superset.git
synced 2026-04-24 02:25:13 +00:00
easier tab closing in sqllab (#4738)
This commit is contained in:
@@ -10,6 +10,7 @@ import SqlEditor from './SqlEditor';
|
||||
import CopyQueryTabUrl from './CopyQueryTabUrl';
|
||||
import { areArraysShallowEqual } from '../../reduxUtils';
|
||||
import { t } from '../../locales';
|
||||
import TabStatusIcon from './TabStatusIcon';
|
||||
|
||||
const propTypes = {
|
||||
actions: PropTypes.object.isRequired,
|
||||
@@ -160,7 +161,7 @@ class TabbedSqlEditors extends React.PureComponent {
|
||||
|
||||
const tabTitle = (
|
||||
<div>
|
||||
<div className={'circle ' + state} /> {qe.title} {' '}
|
||||
<TabStatusIcon onClose={this.removeQueryEditor.bind(this, qe)} tabState={state} /> {qe.title} {' '}
|
||||
<DropdownButton
|
||||
bsSize="small"
|
||||
id={'ddbtn-tab-' + i}
|
||||
|
||||
Reference in New Issue
Block a user