From bf639da46c40d44a0d3c7ce5b7fe8bedf21d1f2e Mon Sep 17 00:00:00 2001 From: kevmodrome Date: Tue, 14 Apr 2020 10:24:33 +0200 Subject: [PATCH] changes front-end to use new store method names --- packages/builder/src/builderStore/store/index.js | 4 ++-- packages/builder/src/components/database/ModelView.svelte | 2 +- .../builder/src/components/nav/SchemaManagementDrawer.svelte | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/builder/src/builderStore/store/index.js b/packages/builder/src/builderStore/store/index.js index cf4b785b21..4d7c9929dd 100644 --- a/packages/builder/src/builderStore/store/index.js +++ b/packages/builder/src/builderStore/store/index.js @@ -52,8 +52,8 @@ export const getStore = () => { store.setPackage = setPackage(store, initial) - store.newChildRecord = backendStoreActions.newRecord(store, false) - store.newRootRecord = backendStoreActions.newRecord(store, true) + store.newChildModel = backendStoreActions.newRecord(store, false) + store.newRootModel = backendStoreActions.newRecord(store, true) store.selectExistingNode = backendStoreActions.selectExistingNode(store) store.newChildIndex = backendStoreActions.newIndex(store, false) store.newRootIndex = backendStoreActions.newIndex(store, true) diff --git a/packages/builder/src/components/database/ModelView.svelte b/packages/builder/src/components/database/ModelView.svelte index 9e8b185291..c7b46df560 100644 --- a/packages/builder/src/components/database/ModelView.svelte +++ b/packages/builder/src/components/database/ModelView.svelte @@ -168,7 +168,7 @@ Save {#if modelExistsInHierarchy} - + Create Child Model on {record.name}