Skip to content

Commit

Permalink
fix: Results section in Explore shows an infinite spinner (#27366)
Browse files Browse the repository at this point in the history
(cherry picked from commit 231e659)
  • Loading branch information
michael-s-molina committed Mar 4, 2024
1 parent 16e5edd commit 4972fbe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,14 @@ export default function transformProps(chartProps) {
coltypes[0] === GenericDataType.TEMPORAL
? getTimeFormatter(timeFormat)
: coltypes[0] === GenericDataType.Numeric
? Number
: String;
? Number
: String;
const yAxisFormatter =
coltypes[1] === GenericDataType.TEMPORAL
? getTimeFormatter(timeFormat)
: coltypes[1] === GenericDataType.Numeric
? Number
: String;
? Number
: String;
return {
width,
height,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ export const DataTablesPane = ({
if (
panelOpen &&
activeTabKey.startsWith(ResultTypes.Results) &&
chartStatus === 'rendered'
chartStatus &&
chartStatus !== 'loading'
) {
setIsRequest({
results: true,
Expand Down

0 comments on commit 4972fbe

Please sign in to comment.