Browse Source

bugfix: Update icon on buttons (#288)

James Read 2 năm trước cách đây
mục cha
commit
dfca712cb1
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      webui.dev/js/ActionButton.js

+ 2 - 0
webui.dev/js/ActionButton.js

@@ -71,6 +71,8 @@ class ActionButton extends ExecutionFeedbackButton {
     } else {
       this.unicodeIcon = unescape(json.icon)
     }
+
+    this.domIcon.innerHTML = this.unicodeIcon
   }
 
   onExecStatusChanged () {