diff --git a/packages/server/src/api/controllers/screen.js b/packages/server/src/api/controllers/screen.js index 07b15dd8a1..ca25a72a8a 100644 --- a/packages/server/src/api/controllers/screen.js +++ b/packages/server/src/api/controllers/screen.js @@ -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, }) } })