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