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 a1478b49ec..5686470075 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 @@ -34,7 +34,15 @@ - + + +
+ + Note: Item states are not updated in real-time. Click the refresh button to update. + +
+
+  Loading... @@ -135,6 +143,7 @@ export default { data () { return { ready: false, + loading: false, items: [], // [{ label: 'Staircase', name: 'Staircase'}], vlData: { items: [] @@ -159,6 +168,9 @@ export default { this.$f7.data.lastItemSearchQuery = this.$refs.searchbar?.f7Searchbar.query }, load () { + if (this.loading) return + this.loading = true + if (this.ready) this.$f7.data.lastItemSearchQuery = this.$refs.searchbar?.f7Searchbar.query this.ready = false @@ -178,6 +190,7 @@ export default { this.$refs.searchbar?.f7Searchbar.search(this.$f7.data.lastItemSearchQuery || '') }) + this.loading = false this.ready = true }) },