1
0
Fork 0
mirror of synced 2024-06-23 08:30:31 +12:00

change appname to name in builderStore

This commit is contained in:
kevmodrome 2020-06-29 17:01:10 +02:00
parent 6a9397ab2e
commit 712e3ffea0
No known key found for this signature in database
GPG key ID: E8F9CD141E63BF38
2 changed files with 5 additions and 3 deletions

View file

@ -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

View file

@ -11,7 +11,7 @@
}
$: currentAppInfo = {
appname: $store.appname,
name: $store.name,
}
async function fetchUsers() {