mirror of
https://github.com/apache/superset.git
synced 2026-04-21 00:54:44 +00:00
[Sql Lab] Fix query results display at the bottom of screen (#4246)
This commit is contained in:
@@ -144,7 +144,8 @@ export default class ResultSet extends React.PureComponent {
|
||||
}
|
||||
render() {
|
||||
const query = this.props.query;
|
||||
const height = this.props.search ? this.props.height - SEARCH_HEIGHT : this.props.height;
|
||||
const height = Math.max(0,
|
||||
(this.props.search ? this.props.height - SEARCH_HEIGHT : this.props.height));
|
||||
let sql;
|
||||
|
||||
if (this.props.showSql) {
|
||||
|
||||
Reference in New Issue
Block a user