Fixing OSS license issues - 2
[osm/UI.git] / skyquake / plugins / launchpad / src / monitoring_params / monitoringParamComponents.js
index 9d52bb8..2990d18 100644 (file)
@@ -49,15 +49,16 @@ function Component(node, prop, count, length) {
     //' + String((100/length) - 5) + '%'
     switch(node["widget-type"]) {
       case 'GAUGE':
-        return (
-            <div
-            className="monitoring_params_component"
-            key={prop + '-' + prop.name+ '-' + count}
-            mp={node["mp-id"]}>
-                <div>{node.name}</div>
-                <Components.default.Gauge value={node[valueProperty] || 0} min={numericConstraintsMinPresent ? node['numeric-constraints']['min-value'] : 0} max={numericConstraintsMaxPresent ? node['numeric-constraints']['max-value'] : 100} units={node['units'] || ''} />
-            </div>);
-        break;
+        // Disabled for OSM
+        // return (
+        //     <div
+        //     className="monitoring_params_component"
+        //     key={prop + '-' + prop.name+ '-' + count}
+        //     mp={node["mp-id"]}>
+        //         <div>{node.name}</div>
+        //         <Components.default.Gauge value={node[valueProperty] || 0} min={numericConstraintsMinPresent ? node['numeric-constraints']['min-value'] : 0} max={numericConstraintsMaxPresent ? node['numeric-constraints']['max-value'] : 100} units={node['units'] || ''} />
+        //     </div>);
+        // break;
       case 'TEXTBOX':
       case 'COUNTER':
         var displayValue = 0;