updated visualization panel ui and added outer click

This commit is contained in:
Nalvazhuthi 2025-04-08 18:34:54 +05:30
parent ed6edef24e
commit 5a5a582171
1 changed files with 4 additions and 4 deletions

View File

@ -90,10 +90,10 @@ export const DraggableWidget = ({
const isPanelHidden = hiddenPanels.includes(widget.panel); const isPanelHidden = hiddenPanels.includes(widget.panel);
OuterClick({ // OuterClick({
contextClassName: ["chart-container", "floating", "sidebar-right-wrapper"], // contextClassName: ["chart-container", "floating", "sidebar-right-wrapper"],
setMenuVisible: () => setSelectedChartId(null), // setMenuVisible: () => setSelectedChartId(null),
}); // });
const deleteSelectedChart = async () => { const deleteSelectedChart = async () => {
try { try {