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

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

James Read 1 год назад
Родитель
Сommit
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) {
-  return title.replace(' ', '')
+  return title.replaceAll(' ', '')
 }
 
 function marshalSingleDashboard (dashboard, nav) {