diff --git a/dashboards-observability/public/components/custom_panels/panel_modules/panel_grid/panel_grid.tsx b/dashboards-observability/public/components/custom_panels/panel_modules/panel_grid/panel_grid.tsx index db64c7cdf..cc529f862 100644 --- a/dashboards-observability/public/components/custom_panels/panel_modules/panel_grid/panel_grid.tsx +++ b/dashboards-observability/public/components/custom_panels/panel_modules/panel_grid/panel_grid.tsx @@ -168,7 +168,9 @@ export const PanelGrid = (props: PanelGridProps) => { _.omit(layout, ['static', 'moved']) ); saveVisualizationLayouts(panelId, visualizationParams); - updateAvailabilityVizId(panelVisualizations); + if (!_.isEmpty(updateAvailabilityVizId)) { + updateAvailabilityVizId(panelVisualizations); + } } }, [editActionType]);