Skip to content

Commit

Permalink
chore(experiments): Always show button to remove a transform (#26485)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
danielbachhuber and github-actions[bot] authored Nov 29, 2024
1 parent c59db26 commit 6c79437
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ export function WebExperimentTransformHeader({

{transform.selector && <SelectorCount selector={transform.selector} />}

{/*Only show the remove button if there's more than one transform*/}
{experimentForm?.variants && experimentForm.variants[variant].transforms.length > 1 && (
{experimentForm?.variants && (
<LemonButton
icon={<IconTrash />}
size="small"
Expand Down

0 comments on commit 6c79437

Please sign in to comment.