Skip to content
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
4 changes: 2 additions & 2 deletions frontend/src/app/(user-area)/dashboard/InitialTeamSetup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const JoinTeamForm = () => {
? "You currently have no team invites. If you'd like to join an existing team, ask a team administrator to invite you."
: `You have ${invites.length} team invite${invites.length === 1 ? '' : 's'}:`}
</p>
{invites?.length && (
{invites?.length ? (
<table className="w-full text-left">
<thead className="uppercase text-english-violet">
<tr>
Expand Down Expand Up @@ -78,7 +78,7 @@ const JoinTeamForm = () => {
))}
</tbody>
</table>
)}
) : null}
</>
);
};
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/app/(user-area)/teams/[teamId]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ const Page = () => {
Go to your team&apos;s{' '}
<Link href={`/teams/${teamId}/settings/integrations`} className="link">
integration settings
</Link>
</Link>{' '}
to configure ingestion from your AWS account.
</p>
</>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,12 @@ const CreateIntegrationForm = (props: CreateIntegrationFormProps) => {
input: {
name,
roleArn,
cloudtrailTrail: {
s3BucketName,
s3KeyPrefix,
},
cloudtrailTrail: s3BucketName
? {
s3BucketName,
s3KeyPrefix,
}
: undefined,
getAccountNamesFromOrganizations,
manageScps,
queueReportGeneration,
Expand Down
Loading