fix: loading and no-data states showing in loading state of alert edit/overview (#5887)

This commit is contained in:
Shaheer Kochai 2024-09-11 18:14:22 +04:30 committed by GitHub
parent 4799d3147b
commit f3cb3b9840
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -260,7 +260,7 @@ function ChartPreview({
</FailedMessageContainer>
)}
{chartData && !queryResponse.isError && (
{chartData && !queryResponse.isError && !queryResponse.isLoading && (
<GridPanelSwitch
options={options}
panelType={graphType}