Browse Source

fix

pull/12/head
vargburz 1 year ago
parent
commit
e8d4f3c8c9
  1. 2
      src/panels/corpglory-dataexporter-panel/components/Panel.tsx

2
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>(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);

Loading…
Cancel
Save