From 1c84b7bac124aae1132df1dc08a6de9a9f8cb021 Mon Sep 17 00:00:00 2001 From: jsteemann Date: Wed, 15 Nov 2017 12:16:21 +0100 Subject: [PATCH] do not pass string "undefined" as cluster id --- .../_admin/aardvark/APP/frontend/js/views/dashboardView.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/js/apps/system/_admin/aardvark/APP/frontend/js/views/dashboardView.js b/js/apps/system/_admin/aardvark/APP/frontend/js/views/dashboardView.js index ea4e6a1018..ecee5ac396 100644 --- a/js/apps/system/_admin/aardvark/APP/frontend/js/views/dashboardView.js +++ b/js/apps/system/_admin/aardvark/APP/frontend/js/views/dashboardView.js @@ -742,7 +742,10 @@ } if (self.server !== '-local-') { - urlParams += '&type=short&DBserver=' + self.serverInfo.target; + urlParams += '&type=short'; + if (self.serverInfo.target) { + urlParams += '&DBserver=' + self.serverInfo.target; + } if (!self.history.hasOwnProperty(self.server)) { self.history[self.server] = {};