We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4bc3e7a + 869e3ef commit 80e9348Copy full SHA for 80e9348
octoprint_netconnectd/static/js/netconnectd.js
@@ -151,9 +151,6 @@ $(function() {
151
var qualityInt = parseInt(wifi.quality);
152
var quality = undefined;
153
if (!isNaN(qualityInt)) {
154
- if (qualityInt <= 0) {
155
- qualityInt = (-1) * qualityInt;
156
- }
157
quality = qualityInt;
158
}
159
@@ -162,7 +159,7 @@ $(function() {
162
address: wifi.address,
163
160
encrypted: wifi.encrypted,
164
161
quality: quality,
165
- qualityText: (quality != undefined) ? "" + quality + "%" : undefined
+ qualityText: (quality != undefined) ? "" + quality + " dBm" : undefined
166
});
167
168
0 commit comments