diff --git a/app/src/app/app/spynet/citizen/_components/Tile.tsx b/app/src/app/app/spynet/citizen/_components/Tile.tsx index 3872016f..735b72ed 100644 --- a/app/src/app/app/spynet/citizen/_components/Tile.tsx +++ b/app/src/app/app/spynet/citizen/_components/Tile.tsx @@ -109,20 +109,15 @@ export const Tile = async ({ searchParams }: Props) => { ); } }); - const limitedRows = limitRows(sortedRows, currentPage); - const assignableRoles = await getAssignableRoles(); const showLastSeenAtColumn = authentication.authorize("lastSeen", "read"); - const showTeamspeakIdAtColumn = authentication.authorize( "teamspeak-id", "read", ); - const showDiscordIdAtColumn = authentication.authorize("discord-id", "read"); - const showDeleteEntityButton = authentication.authorize("citizen", "delete"); return ( diff --git a/app/src/app/app/spynet/notes/_components/Table.tsx b/app/src/app/app/spynet/notes/_components/Table.tsx index 047057fb..fb017a4a 100644 --- a/app/src/app/app/spynet/notes/_components/Table.tsx +++ b/app/src/app/app/spynet/notes/_components/Table.tsx @@ -8,7 +8,7 @@ import { type User, } from "@prisma/client"; import Link from "next/link"; -import { FaExternalLinkAlt, FaSortDown, FaSortUp } from "react-icons/fa"; +import { FaSortDown, FaSortUp } from "react-icons/fa"; import { type EntityLogConfirmationState } from "../../../../../types"; import ConfirmationState from "./ConfirmationState"; import DeleteLog from "./DeleteLog"; @@ -53,8 +53,8 @@ const Table = ({ rows, searchParams }: Readonly) => { return ( - - + + @@ -103,26 +103,26 @@ const Table = ({ rows, searchParams }: Readonly) => { return ( diff --git a/app/src/app/app/spynet/other/_components/Table.tsx b/app/src/app/app/spynet/other/_components/Table.tsx index baf8dadc..0e1b3778 100644 --- a/app/src/app/app/spynet/other/_components/Table.tsx +++ b/app/src/app/app/spynet/other/_components/Table.tsx @@ -8,7 +8,7 @@ import { type User, } from "@prisma/client"; import Link from "next/link"; -import { FaExternalLinkAlt, FaSortDown, FaSortUp } from "react-icons/fa"; +import { FaSortDown, FaSortUp } from "react-icons/fa"; import ConfirmationState from "./ConfirmationState"; import DeleteLog from "./DeleteLog"; @@ -49,8 +49,8 @@ const Table = ({ rows, searchParams }: Readonly) => { return (
Citizen
Citizen Inhalt
- - {row.entity.handle ? ( - {row.entity.handle} - ) : ( - - Unbekannt - - )} + + + {row.entity.handle ? ( + + {row.entity.handle} + + ) : ( + + Unbekannt + + )} + -
- - + + @@ -97,26 +97,26 @@ const Table = ({ rows, searchParams }: Readonly) => { return ( -
Citizen
Citizen Merkmal
+ - - {row.entity.handle ? ( - {row.entity.handle} - ) : ( - - Unbekannt - - )} + + + {row.entity.handle ? ( + + {row.entity.handle} + + ) : ( + + Unbekannt + + )} + -