formatted
CI/CD / test_and_check_app (push) Failing after 1m16s
CI/CD / Publish immutable image (push) Skipped

This commit is contained in:
2026-09-29 21:42:43 +02:00
parent 0ea78a621a
commit 97fa43e982
2 changed files with 18 additions and 16 deletions
+11 -6
View File
@@ -4,7 +4,15 @@ import {Head, Link, router, usePage} from '@inertiajs/vue3';
import type { Team } from '@/types/models';
import TextLink from '@/components/TextLink.vue';
import { Card, CardContent } from '@/components/ui/card';
import {Table, TableBody, TableCaption, TableCell, TableHead, TableHeader, TableRow,} from '@/components/ui/table';
import {
Table,
TableBody,
TableCaption,
TableCell,
TableHead,
TableHeader,
TableRow,
} from '@/components/ui/table';
import { Button } from '@/components/ui/button';
import { Eye, Pencil, Plus, Trash } from '@lucide/vue';
@@ -74,7 +82,7 @@ const canDeleteTeam = (team: Team) =>
<TableCell>{{
team.multi_factor_required ? 'Ja' : 'Nein'
}}</TableCell>
<TableCell class="flex gap-4 justify-end">
<TableCell class="flex justify-end gap-4">
<Link
:href="
(canManageTeam(team) ? teamRoutes.edit : teamRoutes.show)({
@@ -99,10 +107,7 @@ const canDeleteTeam = (team: Team) =>
class="cursor-pointer text-red-500"
@click.stop
>
<component
:is="Trash"
size="18"
/>
<component :is="Trash" size="18" />
</Link>
</TableCell>
</TableRow>
+1 -4
View File
@@ -6,10 +6,7 @@ export interface Team {
created_at: string;
}
export type TeamMemberRole =
|'owner'
| 'admin'
| 'member';
export type TeamMemberRole = 'owner' | 'admin' | 'member';
export interface User {
name: string;