Commit 3a3f6778 authored by jboyson's avatar jboyson

Fix logic when returning shouldRemoveSourceBranch

parent 5763f297
...@@ -72,7 +72,8 @@ export default { ...@@ -72,7 +72,8 @@ export default {
}, },
shouldRemoveSourceBranch() { shouldRemoveSourceBranch() {
if (this.glFeatures.mergeRequestWidgetGraphql) { if (this.glFeatures.mergeRequestWidgetGraphql) {
return this.state.shouldRemoveSourceBranch || this.state.forceRemoveSourceBranch; if (this.state.shouldRemoveSourceBranch === false) return false;
return this.state.forceRemoveSourceBranch;
} }
return this.mr.shouldRemoveSourceBranch; return this.mr.shouldRemoveSourceBranch;
......
---
title: Fix delete source branch status message
merge_request: 58605
author:
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment