From 91a554d61643c55dac38fded5e81a2fe307c91bb Mon Sep 17 00:00:00 2001 From: = Date: Tue, 8 Sep 2020 09:43:12 +0200 Subject: [PATCH] utilities --- Thermo.Active/wwwroot/src/modules/app-footer.ts | 12 ++++++------ .../wwwroot/src/modules/app-footer.vue | 17 +++++++++++++++++ 2 files changed, 23 insertions(+), 6 deletions(-) diff --git a/Thermo.Active/wwwroot/src/modules/app-footer.ts b/Thermo.Active/wwwroot/src/modules/app-footer.ts index 5d99a722..f06b2091 100644 --- a/Thermo.Active/wwwroot/src/modules/app-footer.ts +++ b/Thermo.Active/wwwroot/src/modules/app-footer.ts @@ -55,15 +55,15 @@ export default class AppFooter extends Vue { } public getUtilities(): Array { - // if (typeof cmsClient != "undefined") - // return JSON.parse(cmsClient.getConfiguredProcessesInMainMenu()); - // else - return new Array(); + if (typeof cmsClient != "undefined") + return JSON.parse(cmsClient.getConfiguredProcessesInMainMenu()); + else + return new Array(); } public startUtility(id: any) { - // if (typeof cmsClient != "undefined") - // cmsClient.openOrStartProcess(id); + if (typeof cmsClient != "undefined") + cmsClient.openOrStartProcess(id); } showDashboard() { diff --git a/Thermo.Active/wwwroot/src/modules/app-footer.vue b/Thermo.Active/wwwroot/src/modules/app-footer.vue index 93fb96c8..c05403aa 100644 --- a/Thermo.Active/wwwroot/src/modules/app-footer.vue +++ b/Thermo.Active/wwwroot/src/modules/app-footer.vue @@ -66,6 +66,23 @@ class="oval clock" :class="{ big:isInPath('clock') && !state.isMainViewLiftedUp}" > + +
+ +
+