Skip to content
Snippets Groups Projects
Commit be557d6a authored by Kev's avatar Kev :dog:
Browse files

Add Rebase without CI button to MR rebase widget

This adds a “Rebase without pipeline” button to the MR rebase widget if
the `restructured_mr_widget` and `rebase_without_ci_ui` feature flags
are enabled.

Changelog: changed
parent 2151d82a
No related branches found
No related tags found
1 merge request!92382Add Rebase without CI button to restructured MR rebase widget
......@@ -221,6 +221,17 @@ export default {
>
{{ __('Rebase') }}
</gl-button>
<gl-button
v-if="glFeatures.restructuredMrWidget && showRebaseWithoutCi"
:loading="isMakingRequest"
variant="confirm"
size="small"
category="secondary"
data-testid="rebase-without-ci-button"
@click="rebaseWithoutCi"
>
{{ __('Rebase without pipeline') }}
</gl-button>
</div>
</div>
</template>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment