Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

add board type to board tables

Francis Cao947e76fe556f
diff --git a/src/app/(main)/boards/BoardsTable.tsx b/src/app/(main)/boards/BoardsTable.tsx
index 104a58fc8..b21cbee00 100644
--- a/src/app/(main)/boards/BoardsTable.tsx
+++ b/src/app/(main)/boards/BoardsTable.tsx
@@ -18,6 +18,9 @@ export function BoardsTable(props: DataTableProps) {
}}
</DataColumn>
<DataColumn id="description" label={t(labels.description)} />
+ <DataColumn id="type" label={t(labels.boardType)}>
+ {({ type }: any) => type ? type.charAt(0).toUpperCase() + type.slice(1) : ''}
+ </DataColumn>
<DataColumn id="created" label={t(labels.created)} width="200px">
{(row: any) => <DateDistance date={new Date(row.createdAt)} />}
</DataColumn>