diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-11-13 12:11:54 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-11-13 12:11:54 +0300 |
commit | 1ff3f1a4f7021c7337df3cd1c24c167447b64f2b (patch) | |
tree | 430c18703ef3f04922f7b4042e99cae8d6473c79 /app/assets/javascripts/boards/components | |
parent | c6a48f3f92ce4b9a7e15f6e7e4845612233ae7e5 (diff) |
Export text utils as ES6 modules
Diffstat (limited to 'app/assets/javascripts/boards/components')
-rw-r--r-- | app/assets/javascripts/boards/components/modal/footer.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/javascripts/boards/components/modal/footer.js b/app/assets/javascripts/boards/components/modal/footer.js index de9e44cef35..182957113a2 100644 --- a/app/assets/javascripts/boards/components/modal/footer.js +++ b/app/assets/javascripts/boards/components/modal/footer.js @@ -3,6 +3,7 @@ import Vue from 'vue'; import Flash from '../../../flash'; import './lists_dropdown'; +import { pluralize } from '../../../lib/utils/text_utility'; const ModalStore = gl.issueBoards.ModalStore; @@ -21,7 +22,7 @@ gl.issueBoards.ModalFooter = Vue.extend({ submitText() { const count = ModalStore.selectedCount(); - return `Add ${count > 0 ? count : ''} ${gl.text.pluralize('issue', count)}`; + return `Add ${count > 0 ? count : ''} ${pluralize('issue', count)}`; }, }, methods: { |