From 66d6dd0490e232eb682ccf149c6497e5e9d28b7d Mon Sep 17 00:00:00 2001 From: Jimmy Tanagra Date: Tue, 14 Jan 2025 09:28:33 +1000 Subject: [PATCH] Addons Store: Show search term before loading addons Signed-off-by: Jimmy Tanagra --- bundles/org.openhab.ui/web/src/pages/addons/addons-store.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bundles/org.openhab.ui/web/src/pages/addons/addons-store.vue b/bundles/org.openhab.ui/web/src/pages/addons/addons-store.vue index 2d1bfcf892..465cadc0dd 100644 --- a/bundles/org.openhab.ui/web/src/pages/addons/addons-store.vue +++ b/bundles/org.openhab.ui/web/src/pages/addons/addons-store.vue @@ -309,6 +309,10 @@ export default { this.stopEventSource() }, load () { + if (this.searchFor) { + // Show this in the searchbar while the page is loading + this.$refs.storeSearchbar.f7Searchbar.$inputEl.val(this.searchFor) + } this.stopEventSource() this.$oh.api.get('/rest/services/org.openhab.i18n/config').then((data) => { if (data.region) {