fix(ui): metric of and disable retention

This commit is contained in:
Shekar Siri 2023-10-26 18:14:44 +02:00
parent de797f614b
commit 06581087b0
2 changed files with 8 additions and 7 deletions

View file

@ -191,13 +191,13 @@ export const TYPES: CardType[] = [
description: 'See where users are flowing and explore their journeys.',
slug: USER_PATH,
},
{
title: 'Retention',
icon: 'arrow-repeat',
description: 'Get an understanding of how many users are returning.',
slug: RETENTION,
disabled: true,
},
// {
// title: 'Retention',
// icon: 'arrow-repeat',
// description: 'Get an understanding of how many users are returning.',
// slug: RETENTION,
// disabled: true,
// },
// {
// title: 'Feature Adoption',
// icon: 'card-checklist',

View file

@ -232,6 +232,7 @@ export default class Widget {
data.startType = this.startType;
data.startPoint = [this.startPoint.toJson()];
data.excludes = this.series[0].filter.excludes.map((i: any) => i.toJson());
data.metricOf = 'sessionCount';
}
return data;
}