diff options
author | Fatih Acet <acetfatih@gmail.com> | 2019-01-26 15:49:49 +0100 |
---|---|---|
committer | Fatih Acet <acetfatih@gmail.com> | 2019-01-30 23:18:19 +0100 |
commit | 992fcf6c87721405be59d2a22da7d21157e17f45 (patch) | |
tree | 0fe46a861b647356a605aa8a76d1d07b679a1065 /app/assets/javascripts/issue_show | |
parent | f00c6db83f1f8b0bbb35230cfede0cfddfc9f7da (diff) | |
download | gitlab-ce-992fcf6c87721405be59d2a22da7d21157e17f45.tar.gz |
Add missing specs.
Diffstat (limited to 'app/assets/javascripts/issue_show')
-rw-r--r-- | app/assets/javascripts/issue_show/components/description.vue | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/app/assets/javascripts/issue_show/components/description.vue b/app/assets/javascripts/issue_show/components/description.vue index 56e873c6ba0..f42787a7147 100644 --- a/app/assets/javascripts/issue_show/components/description.vue +++ b/app/assets/javascripts/issue_show/components/description.vue @@ -1,6 +1,6 @@ <script> import $ from 'jquery'; -import createFlash from '~/flash'; +import { __ } from '~/locale'; import animateMixin from '../mixins/animate'; import TaskList from '../../task_list'; import recaptchaModalImplementor from '../../vue_shared/mixins/recaptcha_modal_implementor'; @@ -91,8 +91,10 @@ export default { }, taskListUpdateError() { - createFlash( - 'Someone edited this issue at the same time you did and we updated the issue description.', + window.Flash( + __( + 'Someone edited this issue at the same time you did and we updated the issue description.', + ), ); this.$emit('taskListUpdateFailed'); |