summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/branches/branches_delete_modal.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/branches/branches_delete_modal.js')
-rw-r--r--app/assets/javascripts/branches/branches_delete_modal.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/branches/branches_delete_modal.js b/app/assets/javascripts/branches/branches_delete_modal.js
index f34496f84c6..f4c3fa185d8 100644
--- a/app/assets/javascripts/branches/branches_delete_modal.js
+++ b/app/assets/javascripts/branches/branches_delete_modal.js
@@ -23,7 +23,7 @@ class DeleteModal {
const branchData = e.currentTarget.dataset;
this.branchName = branchData.branchName || '';
this.deletePath = branchData.deletePath || '';
- this.isMerged = !!branchData.isMerged;
+ this.isMerged = Boolean(branchData.isMerged);
this.updateModal();
}