Commit 2f547542 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'ph/225303/fixCreateBranchButtonSpinner' into 'master'

Fixed create branch button spinner after issue close

See merge request gitlab-org/gitlab!47187
parents 463a7233 68b62dff
......@@ -84,14 +84,8 @@ export default class Issue {
projectIssuesCounter.text(addDelimiter(numProjectIssues));
if (this.createMergeRequestDropdown) {
if (isClosed) {
this.createMergeRequestDropdown.unavailable();
this.createMergeRequestDropdown.disable();
} else {
// We should check in case a branch was created in another tab
this.createMergeRequestDropdown.checkAbilityToCreateBranch();
}
}
} else {
flash(issueFailMessage);
}
......
---
title: Fixed create branch button not hiding when issue is closed
merge_request: 47187
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