Few dashboard graph improvements.

This commit is contained in:
Aditya Toshniwal
2023-02-18 15:46:37 +05:30
committed by GitHub
parent 5f52bb59dd
commit aeb4867bdf
3 changed files with 3 additions and 1 deletions

View File

@@ -942,7 +942,7 @@ export function ChartContainer(props) {
</Box>} />
<CardContent className={classes.chartCardContent}>
{!props.errorMsg && !props.isTest && props.children}
<EmptyPanelMessage text={props.errorMsg}/>
{props.errorMsg && <EmptyPanelMessage text={props.errorMsg}/>}
</CardContent>
</Card>
);