diff --git a/bundles/org.openhab.ui/web/src/pages/home.vue b/bundles/org.openhab.ui/web/src/pages/home.vue index f441c68fdc..55cb8bdb20 100644 --- a/bundles/org.openhab.ui/web/src/pages/home.vue +++ b/bundles/org.openhab.ui/web/src/pages/home.vue @@ -12,8 +12,8 @@ {{ title }} - - + + @@ -103,7 +103,8 @@ export default { showExitToApp: false, currentTab: this.initialTab || 'overview', overviewPageKey: this.$utils.id(), - items: [] + items: [], + windowWidth: window.innerWidth } }, computed: { diff --git a/bundles/org.openhab.ui/web/src/pages/settings/items/items-list-vlist.vue b/bundles/org.openhab.ui/web/src/pages/settings/items/items-list-vlist.vue index e75d87f618..4554625575 100644 --- a/bundles/org.openhab.ui/web/src/pages/settings/items/items-list-vlist.vue +++ b/bundles/org.openhab.ui/web/src/pages/settings/items/items-list-vlist.vue @@ -2,8 +2,8 @@ - - + + @@ -150,7 +150,8 @@ export default { }, selectedItems: [], showCheckboxes: false, - eventSource: null + eventSource: null, + windowWidth: window.innerWidth } }, methods: { diff --git a/bundles/org.openhab.ui/web/src/pages/settings/model/model.vue b/bundles/org.openhab.ui/web/src/pages/settings/model/model.vue index 46daacb27b..461a38507d 100644 --- a/bundles/org.openhab.ui/web/src/pages/settings/model/model.vue +++ b/bundles/org.openhab.ui/web/src/pages/settings/model/model.vue @@ -2,8 +2,8 @@ - - + + - - + + @@ -167,7 +167,8 @@ export default { { type: 'map', label: 'Map', componentType: 'oh-map-page', icon: 'map' }, { type: 'plan', label: 'Floor plan', componentType: 'oh-plan-page', icon: 'square_stack_3d_up' }, { type: 'chart', label: 'Chart', componentType: 'oh-chart-page', icon: 'graph_square' } - ] + ], + windowWidth: window.innerWidth } }, computed: { diff --git a/bundles/org.openhab.ui/web/src/pages/settings/rules/rules-list.vue b/bundles/org.openhab.ui/web/src/pages/settings/rules/rules-list.vue index 8ad0a096c4..1af79a56d6 100644 --- a/bundles/org.openhab.ui/web/src/pages/settings/rules/rules-list.vue +++ b/bundles/org.openhab.ui/web/src/pages/settings/rules/rules-list.vue @@ -2,8 +2,8 @@ - - + + @@ -149,7 +149,8 @@ export default { initSearchbar: false, selectedItems: [], showCheckboxes: false, - eventSource: null + eventSource: null, + windowWidth: window.innerWidth } }, computed: { diff --git a/bundles/org.openhab.ui/web/src/pages/settings/schedule/schedule.vue b/bundles/org.openhab.ui/web/src/pages/settings/schedule/schedule.vue index f769e86254..18994f5fbf 100644 --- a/bundles/org.openhab.ui/web/src/pages/settings/schedule/schedule.vue +++ b/bundles/org.openhab.ui/web/src/pages/settings/schedule/schedule.vue @@ -2,8 +2,8 @@ - - + + @@ -96,7 +96,8 @@ export default { initSearchbar: false, selectedItems: [], showCheckboxes: false, - eventSource: null + eventSource: null, + windowWidth: window.innerWidth } }, created () { diff --git a/bundles/org.openhab.ui/web/src/pages/settings/things/things-list.vue b/bundles/org.openhab.ui/web/src/pages/settings/things/things-list.vue index 40ad4ca941..02ad28944d 100644 --- a/bundles/org.openhab.ui/web/src/pages/settings/things/things-list.vue +++ b/bundles/org.openhab.ui/web/src/pages/settings/things/things-list.vue @@ -2,8 +2,8 @@ - - + + @@ -165,7 +165,8 @@ export default { selectedItems: [], showCheckboxes: false, groupBy: 'alphabetical', - eventSource: null + eventSource: null, + windowWidth: window.innerWidth } }, created () { diff --git a/bundles/org.openhab.ui/web/src/pages/settings/transformations/transformations-list.vue b/bundles/org.openhab.ui/web/src/pages/settings/transformations/transformations-list.vue index 02a9dbeae5..ee901935cc 100644 --- a/bundles/org.openhab.ui/web/src/pages/settings/transformations/transformations-list.vue +++ b/bundles/org.openhab.ui/web/src/pages/settings/transformations/transformations-list.vue @@ -2,8 +2,8 @@ - - + + @@ -131,7 +131,8 @@ export default { initSearchbar: false, selectedTransformations: [], groupBy: 'alphabetical', - showCheckboxes: false + showCheckboxes: false, + windowWidth: window.innerWidth } }, computed: {