Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(invites): Clarify expiration message #17862

Merged
merged 2 commits into from
Oct 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion frontend/src/scenes/organization/Settings/InviteModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ export function InviteModal({ isOpen, onClose }: { isOpen: boolean; onClose: ()

<div className="flex-1 flex gap-2 overflow-hidden">
{invite.is_expired ? (
<b>Expired! Delete and recreate</b>
<b>Expired – please recreate</b>
) : (
<>
{preflight?.email_service_available ? (
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/scenes/organization/Settings/Invites.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { LemonDialog } from 'lib/lemon-ui/LemonDialog'
function InviteLinkComponent(id: string, invite: OrganizationInviteType): JSX.Element {
const url = new URL(`/signup/${id}`, document.baseURI).href
return invite.is_expired ? (
<b>Expired! Delete and recreate</b>
<b>Expired – please recreate</b>
) : (
<CopyToClipboardInline data-attr="invite-link" description="invite link">
{url}
Expand Down
Loading