Remove version from component name when considering used plugins in screen docs
This commit is contained in:
parent
0c7e8c2033
commit
0f0e14a64f
|
@ -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,
|
||||
})
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue