mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
resolve bug. reset queryparams when selecting segment/cohort from screens. add cohort prefix to event and path
Some checks are pending
Node.js CI / build (postgresql, 18.18) (push) Waiting to run
Some checks are pending
Node.js CI / build (postgresql, 18.18) (push) Waiting to run
This commit is contained in:
parent
1a5c7df671
commit
8c703eff93
3 changed files with 5 additions and 3 deletions
|
|
@ -19,7 +19,7 @@ export function CohortsTable({ data = [] }) {
|
|||
<DataTable data={data}>
|
||||
<DataColumn id="name" label={formatMessage(labels.name)}>
|
||||
{(row: any) => (
|
||||
<Link href={renderUrl(`/websites/${websiteId}?cohort=${row.id}`)}>{row.name}</Link>
|
||||
<Link href={renderUrl(`/websites/${websiteId}?cohort=${row.id}`, false)}>{row.name}</Link>
|
||||
)}
|
||||
</DataColumn>
|
||||
<DataColumn id="created" label={formatMessage(labels.created)}>
|
||||
|
|
|
|||
|
|
@ -18,7 +18,9 @@ export function SegmentsTable({ data = [] }) {
|
|||
<DataTable data={data}>
|
||||
<DataColumn id="name" label={formatMessage(labels.name)}>
|
||||
{(row: any) => (
|
||||
<Link href={renderUrl(`/websites/${websiteId}?segment=${row.id}`)}>{row.name}</Link>
|
||||
<Link href={renderUrl(`/websites/${websiteId}?segment=${row.id}`, false)}>
|
||||
{row.name}
|
||||
</Link>
|
||||
)}
|
||||
</DataColumn>
|
||||
<DataColumn id="created" label={formatMessage(labels.created)}>
|
||||
|
|
|
|||
|
|
@ -119,7 +119,7 @@ export async function getQueryFilters(
|
|||
}));
|
||||
|
||||
cohortFilters.push({
|
||||
name: cohortParams.action.type,
|
||||
name: `cohort_${cohortParams.action.type}`,
|
||||
operator: 'eq',
|
||||
value: cohortParams.action.value,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue