Skip to content

Commit

Permalink
Check that updateAvailabilityVizId is set
Browse files Browse the repository at this point in the history
Signed-off-by: Eugene Lee <[email protected]>
  • Loading branch information
eugenesk24 committed May 18, 2022
1 parent 53e6073 commit 4d5dc82
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ export const PanelGrid = (props: PanelGridProps) => {
_.omit(layout, ['static', 'moved'])
);
saveVisualizationLayouts(panelId, visualizationParams);
if (!_.isEmpty(updateAvailabilityVizId)) {
if (updateAvailabilityVizId) {
updateAvailabilityVizId(panelVisualizations);
}
}
Expand Down

0 comments on commit 4d5dc82

Please sign in to comment.