mirror of
https://github.com/apache/superset.git
synced 2026-06-05 23:59:25 +00:00
[Sqllab] Add offline state to sqllab (#6013)
* add timeout and refresh for failed backend * show offline state instead of refreshing * add southpane tests
This commit is contained in:
@@ -227,7 +227,7 @@ class QuerySearch extends React.PureComponent {
|
||||
<Select
|
||||
name="select-status"
|
||||
placeholder={t('[Query Status]')}
|
||||
options={STATUS_OPTIONS.map(s => ({ value: s, label: s }))}
|
||||
options={Object.keys(STATUS_OPTIONS).map(s => ({ value: s, label: s }))}
|
||||
value={this.state.status}
|
||||
isLoading={false}
|
||||
autosize={false}
|
||||
|
||||
Reference in New Issue
Block a user