summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Wu <victor@gitlab.com>2019-04-17 13:29:39 +0000
committerVictor Wu <victor@gitlab.com>2019-04-17 13:29:39 +0000
commit0e484b1bc81d060d08f04e1efade97dd8bec16d8 (patch)
tree8a8eccbc70f02aee379080eb3bb8104c594d26cf
parent862a6470625e9bb32f8e4228e29e6398ca7db90a (diff)
downloadgitlab-ce-0e484b1bc81d060d08f04e1efade97dd8bec16d8.tar.gz
Apply suggestion to app/assets/javascripts/due_date_select.js
-rw-r--r--app/assets/javascripts/due_date_select.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/due_date_select.js b/app/assets/javascripts/due_date_select.js
index 54e87909a6d..523b58059b0 100644
--- a/app/assets/javascripts/due_date_select.js
+++ b/app/assets/javascripts/due_date_select.js
@@ -132,7 +132,7 @@ class DueDateSelect {
submitSelectedDate(isDropdown) {
const selectedDateValue = this.datePayload[this.abilityName].due_date;
- const hasDueDate = this.displayedDate !== 'None';
+ const hasDueDate = this.displayedDate !== __('None');
const displayedDateStyle = hasDueDate ? 'bold' : 'no-value';
this.$loading.removeClass('hidden').fadeIn();