fix expand not working

This commit is contained in:
AykutSarac 2022-08-27 19:19:16 +03:00
parent fc65d2ef88
commit 31a57d4f4f

View File

@ -136,7 +136,7 @@ export const Graph = ({ isWidget = false }: { isWidget?: boolean }) => {
const nodeList = collapsedNodes.map((id) => `[id*="node-${id}"]`);
const edgeList = collapsedEdges.map((id) => `[class*="edge-${id}"]`);
const hiddenItems = document.querySelectorAll("hide");
const hiddenItems = document.querySelectorAll(".hide");
hiddenItems.forEach((item) => item.classList.remove("hide"));
if (nodeList.length) {