Sfoglia il codice sorgente

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

James Read 1 anno fa
parent
commit
8258a758d2
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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) {