Skip to content

Commit

Permalink
Fix missing jar add-ons on settings page (openhab#2079)
Browse files Browse the repository at this point in the history
Fixes openhab#2076.

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
Signed-off-by: jgeorgi <justin.georgi@gmail.com>
  • Loading branch information
jimtng authored and JustinGeorgi committed Sep 24, 2023
1 parent 4ce7c0e commit 2a8fba1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ export default {
if (!this.apiEndpoints) return
const servicesPromise = (this.$store.getters.apiEndpoint('services')) ? this.$oh.api.get('/rest/services') : Promise.resolve([])
const addonsPromise = (this.$store.getters.apiEndpoint('addons')) ? this.$oh.api.get('/rest/addons') : Promise.resolve([])
const addonsPromise = (this.$store.getters.apiEndpoint('addons')) ? this.$oh.api.get('/rest/addons?serviceId=all') : Promise.resolve([])
// can be done in parallel!
servicesPromise.then((data) => {
Expand Down

0 comments on commit 2a8fba1

Please sign in to comment.