diff --git a/dashboard-ui/dashboard.html b/dashboard-ui/dashboard.html index cb9aaef8c5..82ee918d43 100644 --- a/dashboard-ui/dashboard.html +++ b/dashboard-ui/dashboard.html @@ -26,7 +26,7 @@
-Program data path:
+ diff --git a/dashboard-ui/scripts/dashboardpage.js b/dashboard-ui/scripts/dashboardpage.js index 695457d488..8f1d1f5a2a 100644 --- a/dashboard-ui/scripts/dashboardpage.js +++ b/dashboard-ui/scripts/dashboardpage.js @@ -281,6 +281,12 @@ } $('#programDataPath', page).html(dashboardInfo.SystemInfo.ProgramDataPath); + + if (window.location.toString().toLowerCase().indexOf('localhost') == -1) { + $('#pProgramDataPath', page).hide(); + } else { + $('#pProgramDataPath', page).hide(); + } var host = ApiClient.serverHostName();