Ver código fonte

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

James Read 2 anos atrás
pai
commit
8258a758d2
1 arquivos alterados com 1 adições e 1 exclusões
  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) {