Skip to content

Commit

Permalink
duplicate feature flag import issue is fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Yagnik56 committed Oct 4, 2024
1 parent 981ecc7 commit 3688c80
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1039,7 +1039,7 @@ export class FeatureFlagService {

if (compatibilityType === FF_COMPATIBILITY_TYPE.COMPATIBLE) {
const keyExists = existingFeatureFlags?.find(
(existingFlag) => existingFlag.key === flag.key && existingFlag.context === flag.context
(existingFlag) => existingFlag.key === flag.key && existingFlag.context[0] === flag.context[0]
);

if (keyExists) {
Expand Down

0 comments on commit 3688c80

Please sign in to comment.