Add new navigation settings to new apps
This commit is contained in:
parent
d3cfdd8a2d
commit
12f704ea7a
|
@ -272,6 +272,13 @@ const performAppCreate = async (ctx: any) => {
|
||||||
updatedAt: new Date().toISOString(),
|
updatedAt: new Date().toISOString(),
|
||||||
createdAt: new Date().toISOString(),
|
createdAt: new Date().toISOString(),
|
||||||
status: AppStatus.DEV,
|
status: AppStatus.DEV,
|
||||||
|
navigation: {
|
||||||
|
navigation: "Top",
|
||||||
|
title: name,
|
||||||
|
navWidth: "Large",
|
||||||
|
navBackground: "var(--spectrum-global-color-gray-50)",
|
||||||
|
},
|
||||||
|
theme: "spectrum--light",
|
||||||
}
|
}
|
||||||
const response = await db.put(newApplication, { force: true })
|
const response = await db.put(newApplication, { force: true })
|
||||||
newApplication._rev = response.rev
|
newApplication._rev = response.rev
|
||||||
|
|
Loading…
Reference in New Issue