From e8d4f3c8c9d53900763fdb0ce18eb9f8fe48fd1b Mon Sep 17 00:00:00 2001 From: vargburz Date: Fri, 20 Jan 2023 13:43:00 +0300 Subject: [PATCH] fix --- src/panels/corpglory-dataexporter-panel/components/Panel.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/panels/corpglory-dataexporter-panel/components/Panel.tsx b/src/panels/corpglory-dataexporter-panel/components/Panel.tsx index 614586f..60ef817 100644 --- a/src/panels/corpglory-dataexporter-panel/components/Panel.tsx +++ b/src/panels/corpglory-dataexporter-panel/components/Panel.tsx @@ -60,7 +60,7 @@ export function Panel({ width, height, timeRange, eventBus, timeZone }: Props) { const [panelStatus, setPanelStatus] = useState(PanelStatus.LOADING); function setPanelStatusWithValidate(status: PanelStatus): void { - if (panelStatus === PanelStatus.DATASOURCE_ERROR || panelStatus === PanelStatus.PERMISSION_ERROR) { + if (panelStatus === PanelStatus.PERMISSION_ERROR) { return; } return setPanelStatus(status);