mirror of
https://github.com/umami-software/umami.git
synced 2026-02-09 07:07:17 +01:00
Changed steps to dropdown.
This commit is contained in:
parent
edd679295c
commit
3234120bfb
3 changed files with 92 additions and 76 deletions
|
|
@ -10,7 +10,7 @@ interface JourneyResult {
|
|||
e5: string;
|
||||
e6: string;
|
||||
e7: string;
|
||||
count: string;
|
||||
count: number;
|
||||
}
|
||||
|
||||
export async function getJourney(
|
||||
|
|
@ -267,6 +267,6 @@ function combineSequentialDuplicates(array: any) {
|
|||
function parseResult(data: any) {
|
||||
return data.map(({ e1, e2, e3, e4, e5, e6, e7, count }) => ({
|
||||
items: combineSequentialDuplicates([e1, e2, e3, e4, e5, e6, e7]),
|
||||
count,
|
||||
count: +count,
|
||||
}));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue