浏览代码

change pmode tag

Avetisyan Karen 4 年之前
父节点
当前提交
6f8022c0ba
共有 2 个文件被更改,包括 1 次插入1 次删除
  1. 二进制
      web_interface/dist/wui-3-rt/main.js
  2. 1 1
      web_interface/src/wui-3-rt/main.js

二进制
web_interface/dist/wui-3-rt/main.js


+ 1 - 1
web_interface/src/wui-3-rt/main.js

@@ -504,7 +504,7 @@ function paramsRefresh() {
     $('pwr').innerHTML        = parseFloat(data.pwr) + ' %';
     $('pwr').style.color      = Alarm(ma, 0) ? ALARM_RED : ALARM_GREEN;
 
-    $('pmode').innerHTML      = ups_bypass ? 'Bypass' : 'Boost or Buck';
+    $('pmode').innerHTML      = data.mode;
 
     // State
     ups_alarm ? pstate.push('exclamination') : pstate.push('normal');