Skip to content

Commit

Permalink
show existing feature flag value setting instead of all false in config
Browse files Browse the repository at this point in the history
  • Loading branch information
eli-d committed Nov 27, 2024
1 parent b842715 commit 963ed97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/app/_layout/FeatureFlagConfig.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export const FeatureFlagConfig = () => {
<Label>{label}</Label>
<Switch
disabled={!override}
checked={featureFlags[key]}
checked={featureFlags[key] ?? data?.[key]}
onCheckedChange={(value) => setFeatureFlagOverride(key, value)}
/>
</div>
Expand Down

0 comments on commit 963ed97

Please sign in to comment.