Skip to content

Commit 88e448b

Browse files
authored
fix: #6397 - Inconsistent feature toggle behavior corrected (#6601)
1 parent 2d31fb4 commit 88e448b

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

frontend/web/components/feature-summary/FeatureRow.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,11 @@ const FeatureRow: FC<FeatureRowProps> = (props) => {
372372
<FeatureName name={projectFlag.name} />
373373
<FeatureTags editFeature={editFeature} projectFlag={projectFlag} />
374374
</div>
375+
<div
376+
onClick={(e) => {
377+
e.stopPropagation()
378+
}}
379+
>
375380
<Switch
376381
disabled={!permission || isReadOnly || isLoading}
377382
data-test={`feature-switch-${index}${
@@ -380,6 +385,7 @@ const FeatureRow: FC<FeatureRowProps> = (props) => {
380385
checked={displayEnabled}
381386
onChange={onChange}
382387
/>
388+
</div>
383389
<FeatureAction {...featureActionProps} disableE2E={true} />
384390
</div>
385391
</div>

0 commit comments

Comments
 (0)