diff --git a/src/teams/tables/columns/PmTeamColumns.tsx b/src/teams/tables/columns/PmTeamColumns.tsx index 639741eb..f8754a49 100644 --- a/src/teams/tables/columns/PmTeamColumns.tsx +++ b/src/teams/tables/columns/PmTeamColumns.tsx @@ -3,35 +3,13 @@ import { createColumnHelper } from "@tanstack/react-table" import Link from "next/link" import { Routes } from "@blitzjs/next" import { TeamData } from "../processing/processTeam" +import { ContributorTeamColumns } from "./ContributorTeamColumns" // Column helper const columnHelper = createColumnHelper() // ColumnDefs -export const PmTeamColumns = [ - columnHelper.accessor("name", { - cell: (info) => {info.getValue()}, - header: "Team Name", - }), - columnHelper.accessor("id", { - id: "view", - header: "View", - enableColumnFilter: false, - enableSorting: false, - cell: (info) => ( -
- - See Contributions - -
- ), - }), +ContributorTeamColumns.push( columnHelper.accessor("id", { id: "edit", header: "Edit", @@ -50,5 +28,6 @@ export const PmTeamColumns = [ ), - }), -] + }) +) +export const PmTeamColumns = ContributorTeamColumns