Lint fixes
This commit is contained in:
parent
8b99546326
commit
47d38f2a28
|
@ -50,7 +50,8 @@ export const rename = (pages, screens, oldname, newname) => {
|
||||||
|
|
||||||
hasEdited = traverseProps(screen.props) || hasEdited
|
hasEdited = traverseProps(screen.props) || hasEdited
|
||||||
|
|
||||||
if (hasEdited && screen.props.instanceName !== newname) changedScreens.push(screen.props.instanceName)
|
if (hasEdited && screen.props.instanceName !== newname)
|
||||||
|
changedScreens.push(screen.props.instanceName)
|
||||||
}
|
}
|
||||||
|
|
||||||
for (let pageName in pages) {
|
for (let pageName in pages) {
|
||||||
|
|
|
@ -64,7 +64,7 @@ export const componentsAndScreens = () => ({
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
route: "",
|
route: "",
|
||||||
props: {
|
props: {
|
||||||
_component: "budibase-components/div",
|
_component: "budibase-components/div",
|
||||||
|
|
|
@ -42,7 +42,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._id)
|
const compPath = screenPath(appPath, pagename, screen.props._id)
|
||||||
|
|
||||||
await ensureDir(dirname(compPath))
|
await ensureDir(dirname(compPath))
|
||||||
if (screen._css) {
|
if (screen._css) {
|
||||||
delete screen._css
|
delete screen._css
|
||||||
|
|
Loading…
Reference in New Issue