Skip to content

Commit

Permalink
Addons Store: Show search term before loading addons
Browse files Browse the repository at this point in the history
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
  • Loading branch information
jimtng committed Jan 13, 2025
1 parent 7ef5b6f commit 66d6dd0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bundles/org.openhab.ui/web/src/pages/addons/addons-store.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 66d6dd0

Please sign in to comment.