diff --git a/Thermo.Active/wwwroot/src/App.ts b/Thermo.Active/wwwroot/src/App.ts index 400b08c2..7338b188 100644 --- a/Thermo.Active/wwwroot/src/App.ts +++ b/Thermo.Active/wwwroot/src/App.ts @@ -180,6 +180,7 @@ export default class app extends Vue { onmousedown() { KeyboardHelper.hideKeyboard(); + messageService.publishToChannel('hideall'); } @Watch("isMainViewLiftedUp") diff --git a/Thermo.Active/wwwroot/src/app_modules_thermo/components/combo.ts b/Thermo.Active/wwwroot/src/app_modules_thermo/components/combo.ts index b8b6ed74..b6dc6ff8 100644 --- a/Thermo.Active/wwwroot/src/app_modules_thermo/components/combo.ts +++ b/Thermo.Active/wwwroot/src/app_modules_thermo/components/combo.ts @@ -2,6 +2,7 @@ import Component from "vue-class-component"; import Vue from "vue"; import { Prop } from "vue-property-decorator"; import lottie from "lottie-web"; +import { messageService } from "@/_base"; @Component({}) export default class Combo extends Vue { @@ -42,7 +43,7 @@ export default class Combo extends Vue { } mounted() { - + messageService.subscribeToChannel('hideall', () => this.hideList()); } } \ No newline at end of file diff --git a/Thermo.Active/wwwroot/src/app_modules_thermo/components/combo.vue b/Thermo.Active/wwwroot/src/app_modules_thermo/components/combo.vue index a41ebdbf..f1f9533f 100644 --- a/Thermo.Active/wwwroot/src/app_modules_thermo/components/combo.vue +++ b/Thermo.Active/wwwroot/src/app_modules_thermo/components/combo.vue @@ -9,7 +9,7 @@ -