fix missing modal error

This commit is contained in:
Peter Clement 2022-06-24 15:01:08 +01:00
parent 6b3832b841
commit c975a58b3c
1 changed files with 5 additions and 0 deletions

View File

@ -10,6 +10,7 @@
Icon, Icon,
notifications, notifications,
} from "@budibase/bbui" } from "@budibase/bbui"
import AddUserModal from "./_components/AddUserModal.svelte"
import BasicOnboardingModal from "./_components/BasicOnboardingModal.svelte" import BasicOnboardingModal from "./_components/BasicOnboardingModal.svelte"
import { users, groups } from "stores/portal" import { users, groups } from "stores/portal"
import { onMount } from "svelte" import { onMount } from "svelte"
@ -17,6 +18,7 @@
import AppsTableRenderer from "./_components/AppsTableRenderer.svelte" import AppsTableRenderer from "./_components/AppsTableRenderer.svelte"
import NameTableRenderer from "./_components/NameTableRenderer.svelte" import NameTableRenderer from "./_components/NameTableRenderer.svelte"
import SettingsTableRenderer from "./_components/SettingsTableRenderer.svelte" import SettingsTableRenderer from "./_components/SettingsTableRenderer.svelte"
import RoleTableRenderer from "./_components/RoleTableRenderer.svelte"
const schema = { const schema = {
name: {}, name: {},
@ -132,6 +134,9 @@
</Layout> </Layout>
</Layout> </Layout>
<Modal bind:this={createUserModal}>
<AddUserModal />
</Modal>
<Modal bind:this={basicOnboardingModal}><BasicOnboardingModal {email} /></Modal> <Modal bind:this={basicOnboardingModal}><BasicOnboardingModal {email} /></Modal>
<style> <style>