OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.
fix(dashboard): get properties and createdAt for profiles
Carl-Gerhard Lindesvärd3e19f90e51d2
diff --git a/apps/dashboard/src/components/profiles/table/index.tsx b/apps/dashboard/src/components/profiles/table/index.tsxindex 888b3ce39..9b78e5960 100644--- a/apps/dashboard/src/components/profiles/table/index.tsx+++ b/apps/dashboard/src/components/profiles/table/index.tsx@@ -26,8 +26,6 @@ type Props =export const ProfilesTable = memo(({ type, query, ...props }: Props) => {- console.log('re-render');-const columns = useColumns(type);const { data, isFetching, isLoading } = query;diff --git a/packages/db/src/services/profile.service.ts b/packages/db/src/services/profile.service.tsindex c91680109..7bd5d9058 100644--- a/packages/db/src/services/profile.service.ts+++ b/packages/db/src/services/profile.service.ts@@ -77,7 +77,7 @@ export async function getProfiles(ids: string[], projectId: string) {}const data = await chQuery<IClickhouseProfile>(- `SELECT id, first_name, last_name, email, avatar, is_external+ `SELECT id, first_name, last_name, email, avatar, is_external, properties, created_atFROM ${TABLE_NAMES.profiles} FINALWHEREproject_id = ${escape(projectId)} AND