Browse Source

bugfix: Update icon on buttons (#288)

James Read 2 years ago
parent
commit
dfca712cb1
1 changed files with 2 additions and 0 deletions
  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 () {