Skip to content

Commit

Permalink
Invert condition
Browse files Browse the repository at this point in the history
  • Loading branch information
BogdanUngureanu committed Jan 22, 2025
1 parent 8ccee31 commit b6ce108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/controller/index.web.js
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ export const redirectIfDuplicatedView = ( wpAdminPath ) => async ( context, next
'remove_duplicate_views_experiment_assignment'
);

if ( ! isE2ETest() && 'treatment' !== overrideAssignment ) {
if ( 'control' === overrideAssignment ) {
next();
return;
}
Expand Down

0 comments on commit b6ce108

Please sign in to comment.