瀏覽代碼

bugfix: Dashboards with multiple spaces in the name could not be navigated properly (#408)

James Read 2 年之前
父節點
當前提交
8258a758d2
共有 1 個文件被更改,包括 1 次插入 和 1 次删除
  1. 1 1
      webui.dev/js/marshaller.js

+ 1 - 1
webui.dev/js/marshaller.js

@@ -238,7 +238,7 @@ export function refreshDiagnostics () {
 }
 }
 
 
 function getSystemTitle (title) {
 function getSystemTitle (title) {
-  return title.replace(' ', '')
+  return title.replaceAll(' ', '')
 }
 }
 
 
 function marshalSingleDashboard (dashboard, nav) {
 function marshalSingleDashboard (dashboard, nav) {