show copy invitation for self-hosted alone
This commit is contained in:
1 parent
72a650c3ab
commit
bed8e31f51
1 file changed
+10
-8
@@ -199,14 +199,16 @@ export default function InviteTeamMember() {
|
||||
>
|
||||
Cancel
|
||||
</Button>
|
||||
<Button
|
||||
disabled={createInvite.isPending}
|
||||
isLoading={createInvite.isPending}
|
||||
className="w-[150px]"
|
||||
onClick={form.handleSubmit(onCopyLink)}
|
||||
>
|
||||
Copy Invitation
|
||||
</Button>
|
||||
{isSelfHosted() ? (
|
||||
<Button
|
||||
disabled={createInvite.isPending}
|
||||
isLoading={createInvite.isPending}
|
||||
className="w-[150px]"
|
||||
onClick={form.handleSubmit(onCopyLink)}
|
||||
>
|
||||
Copy Invitation
|
||||
</Button>
|
||||
) : null}
|
||||
{isCloud() || domains?.length ? (
|
||||
<Button
|
||||
type="submit"
|
||||
|
||||
Reference in new issue
Block a user