Skip to content

Commit

Permalink
added feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
akanshaaa19 committed Dec 5, 2024
1 parent 42460a6 commit 098c84a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@
attachmentsEnabled: true,
showNodeLabel: true,
mutable: true,
filters: ['whatsapp', 'classifier', 'ticketer', 'optins'],
filters: ['whatsapp', 'classifier', 'ticketer', 'optins', 'groups'],

excludeTypes: [
'add_contact_urn',
Expand Down
3 changes: 2 additions & 1 deletion src/config/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ export enum FeatureFilter {
HAS_CLASSIFIER = 'classifier',
HAS_FACEBOOK = 'facebook',
HAS_LOCATIONS = 'locations',
HAS_OPTINS = 'optins'
HAS_OPTINS = 'optins',
HAS_GROUPS = 'groups'
}

export interface FlowTypeVisibility {
Expand Down
3 changes: 2 additions & 1 deletion src/config/typeConfigs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,8 @@ export const typeConfigList: Type[] = [
name: i18n.t('actions.set_wa_group_field.name', 'Update Group'),
description: i18n.t('actions.set_wa_group_field.description', 'Update the group'),
form: UpdateGroupForm,
component: UpdateGroupComp
component: UpdateGroupComp,
filter: FeatureFilter.HAS_GROUPS
}
// {type: 'random', name: 'Random Split', description: 'Split them up randomly', form: RandomRouterForm}
];
Expand Down

0 comments on commit 098c84a

Please sign in to comment.