change appname to name in builderStore
This commit is contained in:
parent
6a9397ab2e
commit
712e3ffea0
|
@ -29,7 +29,8 @@ import {
|
|||
export const getStore = () => {
|
||||
const initial = {
|
||||
apps: [],
|
||||
appname: "",
|
||||
name: "",
|
||||
description: "",
|
||||
pages: DEFAULT_PAGES_OBJECT,
|
||||
mainUi: {},
|
||||
unauthenticatedUi: {},
|
||||
|
@ -101,7 +102,8 @@ const setPackage = (store, initial) => async pkg => {
|
|||
|
||||
initial.libraries = pkg.application.componentLibraries
|
||||
initial.components = await fetchComponentLibDefinitions(pkg.application._id)
|
||||
initial.appname = pkg.application.name
|
||||
initial.name = pkg.application.name
|
||||
initial.description = pkg.application.description
|
||||
initial.appId = pkg.application._id
|
||||
initial.pages = pkg.pages
|
||||
initial.hasAppPackage = true
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
}
|
||||
|
||||
$: currentAppInfo = {
|
||||
appname: $store.appname,
|
||||
name: $store.name,
|
||||
}
|
||||
|
||||
async function fetchUsers() {
|
||||
|
|
Loading…
Reference in New Issue