aboutsummaryrefslogtreecommitdiffstats
path: root/ui/imports/ui/components/dashboard/dashboard.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/imports/ui/components/dashboard/dashboard.js')
-rw-r--r--ui/imports/ui/components/dashboard/dashboard.js26
1 files changed, 26 insertions, 0 deletions
diff --git a/ui/imports/ui/components/dashboard/dashboard.js b/ui/imports/ui/components/dashboard/dashboard.js
index 1a72a2d..85cede8 100644
--- a/ui/imports/ui/components/dashboard/dashboard.js
+++ b/ui/imports/ui/components/dashboard/dashboard.js
@@ -25,6 +25,7 @@ import { store } from '/imports/ui/store/store';
import { setMainAppSelectedEnvironment } from '/imports/ui/actions/main-app.actions';
import '/imports/ui/components/messages-info-box/messages-info-box';
+import '/imports/ui/components/environment-box/environment-box';
import './dashboard.html';
@@ -219,4 +220,29 @@ Template.Dashboard.helpers({
}
};
},
+
+ argsEnvBox: function (
+ environmentName,
+ regionsCount,
+ regions,
+ projectsCount,
+ projects,
+ instancesCount,
+ vservicesCount,
+ vconnectorsCount,
+ hostsCount
+ ) {
+
+ return {
+ environmentName: environmentName,
+ regionsCount: regionsCount,
+ regions: regions,
+ projectsCount,
+ projects: projects,
+ instancesCount: instancesCount,
+ vservicesCount: vservicesCount,
+ vconnectorsCount: vconnectorsCount,
+ hostsCount: hostsCount,
+ };
+ }
}); // end: helpers