Skip to content
Snippets Groups Projects
Commit 622923d4 authored by Robin Leber's avatar Robin Leber
Browse files

FIX: show pause

parent 6074e300
No related branches found
No related tags found
No related merge requests found
...@@ -66,15 +66,12 @@ export const showDeployIcon = (id) => { ...@@ -66,15 +66,12 @@ export const showDeployIcon = (id) => {
// }; // };
export const showPause = () => { export const showPause = () => {
console.log("HI");
let elementsToHide = document.querySelectorAll("#Diagram .Filter"); let elementsToHide = document.querySelectorAll("#Diagram .Filter");
elementsToHide.forEach((el) => { elementsToHide.forEach((el) => {
console.log(el); const isVisible = el.childNodes[11].style.visibility === "visible";
const isVisible = el.childNodes[7].style.visibility === "visible";
if (isVisible) { if (isVisible) {
console.log("Wäre cool"); el.childNodes[11].style.visibility = "hidden";
el.childNodes[7].style.visibility = "hidden"; el.childNodes[13].style.visibility = "visible";
el.childNodes[9].style.visibility = "visible";
el.style.borderColor = "orange"; el.style.borderColor = "orange";
} }
}); });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment