add format check, update prettier rules, apply rules consistently

This commit is contained in:
Gregor Vostrak
2025-07-29 18:58:31 +02:00
parent b11672732b
commit a3d7cdaf4d
323 changed files with 3728 additions and 5579 deletions

View File

@@ -20,11 +20,8 @@ onMounted(async () => {
class="grid min-w-full"
style="grid-template-columns: 1fr 1fr 80px">
<InvitationTableHeading></InvitationTableHeading>
<template
v-for="invitation in invitations"
:key="invitation.id">
<InvitationTableRow
:invitation="invitation"></InvitationTableRow>
<template v-for="invitation in invitations" :key="invitation.id">
<InvitationTableRow :invitation="invitation"></InvitationTableRow>
</template>
</div>
</div>

View File

@@ -9,8 +9,7 @@ import TableHeading from '@/Components/Common/TableHeading.vue';
Email
</div>
<div class="px-3 py-1.5 text-left font-semibold text-text-primary">Role</div>
<div
class="relative py-1.5 pl-3 pr-4 sm:pr-6 lg:pr-8 3xl:pr-12 bg-row-heading-background">
<div class="relative py-1.5 pl-3 pr-4 sm:pr-6 lg:pr-8 3xl:pr-12 bg-row-heading-background">
<span class="sr-only">Edit</span>
</div>
</TableHeading>

View File

@@ -38,15 +38,12 @@ async function resendInvitation() {
if (organizationId) {
await handleApiRequestNotifications(
() =>
api.resendInvitationEmail(
undefined,
{
params: {
invitation: props.invitation.id,
organization: organizationId,
},
}
),
api.resendInvitationEmail(undefined, {
params: {
invitation: props.invitation.id,
organization: organizationId,
},
}),
'Invitation mail sent successfully',
'Error sending invitation mail'
);
@@ -65,9 +62,7 @@ async function resendInvitation() {
</div>
<div
class="relative whitespace-nowrap flex items-center pl-3 text-right text-sm font-medium pr-4 sm:pr-6 lg:pr-8 3xl:pr-12">
<InvitationMoreOptionsDropdown
@delete="deleteInvitation"
@resend="resendInvitation" />
<InvitationMoreOptionsDropdown @delete="deleteInvitation" @resend="resendInvitation" />
</div>
</TableRow>
</template>