Remove version from component name when considering used plugins in screen docs

This commit is contained in:
Andrew Kingston 2022-09-02 19:58:54 +01:00
parent 0c7e8c2033
commit 0f0e14a64f
1 changed files with 2 additions and 1 deletions

View File

@ -55,7 +55,7 @@ exports.save = async ctx => {
.filter(plugin => {
return (
plugin.schema.type === "component" &&
pluginNames.includes(`plugin/${plugin.name}/${plugin.version}`)
pluginNames.includes(`plugin/${plugin.name}`)
)
})
@ -71,6 +71,7 @@ exports.save = async ctx => {
name: plugin.name,
version: plugin.version,
jsUrl: plugin.jsUrl,
hash: plugin.hash,
})
}
})