diff --git a/frontend/src/scenes/actions/ActionStep.js b/frontend/src/scenes/actions/ActionStep.js index f3050d9811684..6f33228110f4f 100644 --- a/frontend/src/scenes/actions/ActionStep.js +++ b/frontend/src/scenes/actions/ActionStep.js @@ -20,13 +20,12 @@ let getSafeText = (el) => { } export class ActionStep extends Component { - isUrlChecked = (step) => { - return step?.selection?.indexOf('url') !== -1 - } + isUrlChecked = (step) => step?.selection?.indexOf('url') !== -1 ckbContainer = { display: 'flex', minHeight: '31px', alignItems: 'center', + marginBottom: '8px', } constructor(props) { super(props) @@ -146,34 +145,39 @@ export class ActionStep extends Component { {selectorError ? 'Invalid selector' : `Matches ${matches} elements`} )} - +
+ + {this.isUrlChecked(this.props.step) && props.extra_options} +
{props.item === 'selector' ? (