From d8645887a03bf8cd59522cfeba9aafa39dfe5940 Mon Sep 17 00:00:00 2001 From: Matt DiCicco Date: Wed, 10 Jul 2019 14:16:40 -0400 Subject: [PATCH] temp remove labels from bars to make progress bars work --- client/app/components/coordinator/coordinator.html | 8 ++++---- client/app/utilities/ros_scripts.js | 10 +--------- 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/client/app/components/coordinator/coordinator.html b/client/app/components/coordinator/coordinator.html index 5e44963..d48e6c8 100644 --- a/client/app/components/coordinator/coordinator.html +++ b/client/app/components/coordinator/coordinator.html @@ -127,7 +127,7 @@
-
Commanded
+
N/A
    @@ -144,7 +144,7 @@
-
Observed
+
N/A
@@ -545,7 +545,7 @@
-
Commanded
+
N/A
    @@ -562,7 +562,7 @@
-
Observed
+
N/A
diff --git a/client/app/utilities/ros_scripts.js b/client/app/utilities/ros_scripts.js index 45083db..de6e9f4 100644 --- a/client/app/utilities/ros_scripts.js +++ b/client/app/utilities/ros_scripts.js @@ -66,15 +66,7 @@ function disableUI() { } document.querySelector('.dropdown').classList.add("disabled"); - document.querySelectorAll('.force-bar .force-value span').forEach(function(element){ - element.innerHTML = 0.0 - }); - - document.querySelectorAll('.force-bar .progress-bar').forEach(function(element){ - element.style.width = ""; - element.innerHTML = ""; - element.setAttribute('aria-valuenow', 0); - }); + } catch(err) { console.log(err);