Просмотр исходного кода

bugfix: Timestamp "IDs" need to be a string

jamesread 2 лет назад
Родитель
Сommit
216ccbfcef
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      webui/js/ActionButton.js

+ 1 - 1
webui/js/ActionButton.js

@@ -57,7 +57,7 @@ class ActionButton extends window.HTMLElement {
     if (window.isSecureContext) {
     if (window.isSecureContext) {
       return window.crypto.randomUUID()
       return window.crypto.randomUUID()
     } else {
     } else {
-      return Date.now()
+      return Date.now().toString()
     }
     }
   }
   }