Skip to content

Commit

Permalink
Merge branch 'develop' into release/v0.32.0
Browse files Browse the repository at this point in the history
  • Loading branch information
prashant-shahi committed Oct 20, 2023
2 parents 7a18bdd + 5e0c068 commit 7faab85
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions frontend/src/container/GridCardLayout/GridCard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ function GridCardGraph({
},
],
createDataset: undefined,
isWarningLimit: true,
isWarningLimit: widget.panelTypes === PANEL_TYPES.TIME_SERIES,
}),
[queryResponse],
[queryResponse, widget?.panelTypes],
);

const isEmptyLayout = widget?.id === PANEL_TYPES.EMPTY_WIDGET;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { WarningOutlined } from '@ant-design/icons';
import { Card, Tooltip, Typography } from 'antd';
import Spinner from 'components/Spinner';
import { PANEL_TYPES } from 'constants/queryBuilder';
import {
errorTooltipPosition,
tooltipStyles,
Expand Down Expand Up @@ -67,7 +68,7 @@ function WidgetGraph({
{ queryData: getWidgetQueryRange.data?.payload.data.result ?? [] },
],
createDataset: undefined,
isWarningLimit: true,
isWarningLimit: selectedWidget.panelTypes === PANEL_TYPES.TIME_SERIES,
});

return (
Expand Down

0 comments on commit 7faab85

Please sign in to comment.