diff --git a/packages/builder/src/pages/builder/portal/manage/users/_components/AddUserModal.svelte b/packages/builder/src/pages/builder/portal/manage/users/_components/AddUserModal.svelte
index 177a7ff810..415c1cde82 100644
--- a/packages/builder/src/pages/builder/portal/manage/users/_components/AddUserModal.svelte
+++ b/packages/builder/src/pages/builder/portal/manage/users/_components/AddUserModal.svelte
@@ -1,22 +1,30 @@
diff --git a/packages/builder/src/pages/builder/portal/manage/users/index.svelte b/packages/builder/src/pages/builder/portal/manage/users/index.svelte
index 25836260d6..868c455a67 100644
--- a/packages/builder/src/pages/builder/portal/manage/users/index.svelte
+++ b/packages/builder/src/pages/builder/portal/manage/users/index.svelte
@@ -11,7 +11,6 @@
Label,
Layout,
Modal,
- notifications,
} from "@budibase/bbui"
import AddUserModal from "./_components/AddUserModal.svelte"
import BasicOnboardingModal from "./_components/BasicOnboardingModal.svelte"
@@ -26,8 +25,6 @@
// group: {}
}
- let onboardingOptions = ["Email onboarding", "Basic onboarding"]
- let selectedOnboardingOption = onboardingOptions[0]
let search
let email
$: filteredUsers = $users.filter(user => user.email.includes(search || ""))
@@ -35,13 +32,9 @@
let createUserModal
let basicOnboardingModal
- function createUserFlow() {
- if (selectedOnboardingOption === onboardingOptions[0]) {
- notifications.success("Email sent.")
- } else {
- createUserModal.hide()
- basicOnboardingModal.show()
- }
+ function openBasicOnoboardingModal() {
+ createUserModal.hide()
+ basicOnboardingModal.show()
}
@@ -80,13 +73,7 @@