diff --git a/messages/en-US.json b/messages/en-US.json index ee4ef143d..148b593c3 100644 --- a/messages/en-US.json +++ b/messages/en-US.json @@ -1124,6 +1124,8 @@ "idpErrorConnectingTo": "There was a problem connecting to {name}. Please contact your administrator.", "idpErrorNotFound": "IdP not found", "inviteInvalid": "Invalid Invite", + "labels": "Labels", + "addLabelsButtonText": "Add labels", "inviteInvalidDescription": "The invite link is invalid.", "inviteErrorWrongUser": "Invite is not for this user", "inviteErrorUserNotExists": "User does not exist. Please create an account first.", diff --git a/src/components/SitesTable.tsx b/src/components/SitesTable.tsx index c29314874..5b80a097f 100644 --- a/src/components/SitesTable.tsx +++ b/src/components/SitesTable.tsx @@ -26,7 +26,8 @@ import { ArrowUpRight, ChevronDown, ChevronsUpDownIcon, - MoreHorizontal + MoreHorizontal, + PlusIcon } from "lucide-react"; import { useTranslations } from "next-intl"; import Link from "next/link"; @@ -437,7 +438,7 @@ export default function SitesTable({ header: () => { return {t("address")}; }, - cell: ({ row }: { row: any }) => { + cell: ({ row }) => { const originalRow = row.original; return originalRow.address ? (
@@ -448,6 +449,22 @@ export default function SitesTable({ ); } }, + { + accessorKey: "labels", + header: () => {t("labels")}, + cell: ({ row }) => { + return ( + + ); + } + }, { id: "actions", enableHiding: false, @@ -622,7 +639,8 @@ export default function SitesTable({ niceId: false, nice: false, exitNode: false, - address: false + address: false, + labels: false }} enableColumnVisibility stickyLeftColumn="name"