diff options
author | Koren Lev <korenlev@gmail.com> | 2017-08-16 11:33:56 +0300 |
---|---|---|
committer | Koren Lev <korenlev@gmail.com> | 2017-08-16 11:33:56 +0300 |
commit | ef65f0fefeab974ec06426f289469c45e804678a (patch) | |
tree | 38c3ce9fcc62c474b45e5ee8960621cee982b75c /ui/imports/ui/components/dashboard/dashboard.js | |
parent | 798f7292513d08e0120e52775f0a4952adc7cef3 (diff) |
scans,messages - default latest time first, tree as drawer, env re-arranged
Change-Id: Ib6bc2e6d87821c3583b6a0521b759cedcf3a9868
Signed-off-by: Koren Lev <korenlev@gmail.com>
Diffstat (limited to 'ui/imports/ui/components/dashboard/dashboard.js')
-rw-r--r-- | ui/imports/ui/components/dashboard/dashboard.js | 26 |
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 |