This commit is contained in:
Martin McKeaveney 2020-06-18 17:49:34 +01:00
parent f8c9cc4331
commit cada9bdb85
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ const screenPath = (appPath, pageName, name) =>
module.exports.saveScreen = async (config, appname, pagename, screen) => {
const appPath = appPackageFolder(config, appname)
const compPath = screenPath(appPath, pagename, screen.props._instanceName)
const compPath = screenPath(appPath, pagename, screen.name)
await ensureDir(dirname(compPath))
if (screen._css) {
delete screen._css