Skip to content

Commit

Permalink
[NOREF] Added notificationsEnabled LD flag (#975)
Browse files Browse the repository at this point in the history
Added notificationsEnabled LD flag
  • Loading branch information
patrickseguraoddball authored Feb 26, 2024
1 parent e502f62 commit 0bd8b37
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/types/flags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export type Flags = {
hideGroupView: boolean;
helpScoutEnabled: boolean;
feedbackEnabled: boolean;
notificationsEnabled: boolean;
};

export type FlagsState = {
Expand Down
3 changes: 2 additions & 1 deletion src/utils/user.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ describe('user', () => {
hideITLeadExperience: false,
hideGroupView: true,
helpScoutEnabled: false,
feedbackEnabled: false
feedbackEnabled: false,
notificationsEnabled: false
})
).toBe(false);
});
Expand Down
3 changes: 2 additions & 1 deletion src/views/FlagsWrapper/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ const UserTargetingWrapper = ({ children }: WrapperProps) => {
hideGroupView: true,
helpScoutEnabled: false,
feedbackEnabled: false,
downgradeNonCMS: false
downgradeNonCMS: false,
notificationsEnabled: false
}
});

Expand Down

0 comments on commit 0bd8b37

Please sign in to comment.