diff --git a/packages/builder/src/pages/builder/portal/manage/users/_components/ImportUsersModal.svelte b/packages/builder/src/pages/builder/portal/manage/users/_components/ImportUsersModal.svelte index 9d2c2b11ef..64334b4ab2 100644 --- a/packages/builder/src/pages/builder/portal/manage/users/_components/ImportUsersModal.svelte +++ b/packages/builder/src/pages/builder/portal/manage/users/_components/ImportUsersModal.svelte @@ -6,7 +6,7 @@ Multiselect, notifications, } from "@budibase/bbui" - import { groups, auth } from "stores/portal" + import { groups, auth, admin } from "stores/portal" import { emailValidator } from "../../../../../../helpers/validation" import { Constants } from "@budibase/frontend-core" @@ -27,7 +27,7 @@ ) const validEmails = userEmails => { - if (userEmails.length > MAX_USERS_UPLOAD_LIMIT) { + if ($admin.cloud && userEmails.length > MAX_USERS_UPLOAD_LIMIT) { notifications.error( `Max limit for upload is 1000 users. Please reduce file size and try again.` )