udpate constants and references to filter groups

This commit is contained in:
Francis Cao 2025-06-24 11:09:36 -07:00
parent 5ffafc71fc
commit 657ae8ebdb
6 changed files with 39 additions and 22 deletions

View file

@ -47,7 +47,10 @@ export const SESSION_COLUMNS = [
'host',
];
export const FILTER_GROUPS = ['segment', 'cohort'];
export const FILTER_GROUPS = {
segment: 'segment',
cohort: 'cohort',
};
export const FILTER_COLUMNS = {
url: 'url_path',
@ -66,8 +69,6 @@ export const FILTER_COLUMNS = {
language: 'language',
event: 'event_name',
tag: 'tag',
segment: 'segment',
cohort: 'cohort',
};
export const COLLECTION_TYPE = {