mirror of https://github.com/apache/superset.git
Improve performance for add slice container (#7791)
This commit is contained in:
parent
d1158d6f4b
commit
15426febbe
|
@ -31,7 +31,7 @@ const propTypes = {
|
|||
})).isRequired,
|
||||
};
|
||||
|
||||
const styleSelectWidth = { width: 300 };
|
||||
const styleSelectWidth = { width: 600 };
|
||||
|
||||
export default class AddSliceContainer extends React.PureComponent {
|
||||
constructor(props) {
|
||||
|
@ -83,18 +83,19 @@ export default class AddSliceContainer extends React.PureComponent {
|
|||
<div style={styleSelectWidth}>
|
||||
<Select
|
||||
clearable={false}
|
||||
style={styleSelectWidth}
|
||||
ignoreAccents={false}
|
||||
name="select-datasource"
|
||||
onChange={this.changeDatasource}
|
||||
options={this.props.datasources}
|
||||
placeholder={t('Choose a datasource')}
|
||||
style={styleSelectWidth}
|
||||
value={this.state.datasourceValue}
|
||||
width={200}
|
||||
width={600}
|
||||
/>
|
||||
</div>
|
||||
<p className="text-muted">
|
||||
{t(
|
||||
'If the datasource your are looking for is not ' +
|
||||
'If the datasource you are looking for is not ' +
|
||||
'available in the list, ' +
|
||||
'follow the instructions on the how to add it on the ')}
|
||||
<a href="https://superset.apache.org/tutorial.html">{t('Superset tutorial')}</a>
|
||||
|
|
Loading…
Reference in New Issue