mirror of
https://github.com/apache/superset.git
synced 2026-04-20 16:44:46 +00:00
[explore] fix query text modal while loading (#2596)
* [explore] fix and clean Currently it's not possible to view queries while they are running, the spinner appears endlessly. I decided to rearrange things a bit while debugging so I could see clearly through it. * Adding NotImplemented methods to base classes * Fixing * Piling up
This commit is contained in:
committed by
GitHub
parent
2df6baa7a7
commit
db02b33e09
@@ -8,10 +8,12 @@ const propTypes = {
|
||||
canDownload: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]).isRequired,
|
||||
slice: PropTypes.object,
|
||||
queryEndpoint: PropTypes.string,
|
||||
query: PropTypes.string,
|
||||
queryResponse: PropTypes.object,
|
||||
chartStatus: PropTypes.string,
|
||||
};
|
||||
|
||||
export default function ExploreActionButtons({ canDownload, slice, query, queryEndpoint }) {
|
||||
export default function ExploreActionButtons({
|
||||
chartStatus, canDownload, slice, queryResponse, queryEndpoint }) {
|
||||
const exportToCSVClasses = cx('btn btn-default btn-sm', {
|
||||
'disabled disabledButton': !canDownload,
|
||||
});
|
||||
@@ -43,8 +45,9 @@ export default function ExploreActionButtons({ canDownload, slice, query, queryE
|
||||
</a>
|
||||
|
||||
<DisplayQueryButton
|
||||
query={query}
|
||||
queryResponse={queryResponse}
|
||||
queryEndpoint={queryEndpoint}
|
||||
chartStatus={chartStatus}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user