diff --git a/public/js/apps/Cis/Cis.js b/public/js/apps/Cis/Cis.js index fe2ed8837..d4f846f25 100644 --- a/public/js/apps/Cis/Cis.js +++ b/public/js/apps/Cis/Cis.js @@ -257,9 +257,14 @@ const app = Vue.createApp({ provide() { return { // provide injectable & watchable language property language: Vue.computed(() => this.$p.user_language), - isMobile: Vue.computed(() => this.windowWidth < 767), + isMobile: Vue.computed(() => this.isMobile), } }, + computed: { + isMobile: function() { + return (this.windowWidth < 767); + } + }, methods: { isInternalRoute(href) { const internalBase = window.location.origin