Limit add-on settings menu list to bundles (#2217)
When installing rule templates or UI components or blockly libraries from the marketplace, they get an entry in the add-on settings menu. There is nothing that can be configured in these types of add-ons. Therefore limit the list to bundles and features. --------- Signed-off-by: Mark Herwege <mark.herwege@telenet.be>pull/2220/head
parent
f4773a7c86
commit
da639e2f7d
|
@ -224,7 +224,7 @@ export default {
|
|||
this.servicesLoaded = true
|
||||
})
|
||||
addonsPromise.then((data) => {
|
||||
this.addonsInstalled = data.filter(a => a.installed === true)
|
||||
this.addonsInstalled = data.filter(a => a.installed && !['application/vnd.openhab.ruletemplate', 'application/vnd.openhab.uicomponent;type=widget', 'application/vnd.openhab.uicomponent;type=blocks'].includes(a.contentType))
|
||||
this.addonsLoaded = true
|
||||
})
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue