This commit is contained in:
Martin McKeaveney 2020-06-18 17:49:34 +01:00
parent d2fbddadd5
commit 9cdb6554a5
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) => { module.exports.saveScreen = async (config, appname, pagename, screen) => {
const appPath = appPackageFolder(config, appname) const appPath = appPackageFolder(config, appname)
const compPath = screenPath(appPath, pagename, screen.props._instanceName) const compPath = screenPath(appPath, pagename, screen.name)
await ensureDir(dirname(compPath)) await ensureDir(dirname(compPath))
if (screen._css) { if (screen._css) {
delete screen._css delete screen._css