Addons Store: Show search term before loading addons

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
pull/3021/head
Jimmy Tanagra 2025-01-14 09:28:33 +10:00 committed by Florian Hotze
parent 3a034210f1
commit ec230c9c8d
1 changed files with 4 additions and 0 deletions

View File

@ -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) {