diff --git a/packages/builder/src/App.svelte b/packages/builder/src/App.svelte index 355bec2484..4e3a9c1632 100644 --- a/packages/builder/src/App.svelte +++ b/packages/builder/src/App.svelte @@ -1,4 +1,5 @@ -
- Database Name - +
+
+ Database Name + +
-
+ diff --git a/packages/builder/src/components/nav/BackendNav.svelte b/packages/builder/src/components/nav/BackendNav.svelte index a50ef29641..edd0586d94 100644 --- a/packages/builder/src/components/nav/BackendNav.svelte +++ b/packages/builder/src/components/nav/BackendNav.svelte @@ -6,6 +6,18 @@ import UsersList from "./UsersList.svelte" import NavItem from "./NavItem.svelte" import getIcon from "components/common/icon" + import { CreateDatabaseModal } from "components/database/ModelDataTable/modals" + const { open, close } = getContext("simple-modal") + + const openDatabaseCreator = () => { + open( + CreateDatabaseModal, + { + onClosed: close, + }, + { styleContent: { padding: "0" } } + ) + }
@@ -13,9 +25,7 @@
diff --git a/packages/builder/src/pages/[application]/backend/_layout.svelte b/packages/builder/src/pages/[application]/backend/_layout.svelte index 16067adcd6..ce0cc9323e 100644 --- a/packages/builder/src/pages/[application]/backend/_layout.svelte +++ b/packages/builder/src/pages/[application]/backend/_layout.svelte @@ -1,4 +1,5 @@ - +