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 type { Team } from '@/types/models';
import TextLink from '@/components/TextLink.vue'; import TextLink from '@/components/TextLink.vue';
import { Card, CardContent } from '@/components/ui/card'; 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 { Button } from '@/components/ui/button';
import { Eye, Pencil, Plus, Trash } from '@lucide/vue'; import { Eye, Pencil, Plus, Trash } from '@lucide/vue';
@@ -74,7 +82,7 @@ const canDeleteTeam = (team: Team) =>
<TableCell>{{ <TableCell>{{
team.multi_factor_required ? 'Ja' : 'Nein' team.multi_factor_required ? 'Ja' : 'Nein'
}}</TableCell> }}</TableCell>
<TableCell class="flex gap-4 justify-end"> <TableCell class="flex justify-end gap-4">
<Link <Link
:href=" :href="
(canManageTeam(team) ? teamRoutes.edit : teamRoutes.show)({ (canManageTeam(team) ? teamRoutes.edit : teamRoutes.show)({
@@ -99,10 +107,7 @@ const canDeleteTeam = (team: Team) =>
class="cursor-pointer text-red-500" class="cursor-pointer text-red-500"
@click.stop @click.stop
> >
<component <component :is="Trash" size="18" />
:is="Trash"
size="18"
/>
</Link> </Link>
</TableCell> </TableCell>
</TableRow> </TableRow>
+1 -4
View File
@@ -6,10 +6,7 @@ export interface Team {
created_at: string; created_at: string;
} }
export type TeamMemberRole = export type TeamMemberRole = 'owner' | 'admin' | 'member';
|'owner'
| 'admin'
| 'member';
export interface User { export interface User {
name: string; name: string;