diff options
Diffstat (limited to 'app/assets/javascripts/labels/components/promote_label_modal.vue')
-rw-r--r-- | app/assets/javascripts/labels/components/promote_label_modal.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/labels/components/promote_label_modal.vue b/app/assets/javascripts/labels/components/promote_label_modal.vue index 8598500c842..1b99a094c48 100644 --- a/app/assets/javascripts/labels/components/promote_label_modal.vue +++ b/app/assets/javascripts/labels/components/promote_label_modal.vue @@ -1,6 +1,6 @@ <script> import { GlSprintf, GlModal } from '@gitlab/ui'; -import createFlash from '~/flash'; +import { createAlert } from '~/flash'; import axios from '~/lib/utils/axios_utils'; import { visitUrl } from '~/lib/utils/url_utility'; import { s__, __, sprintf } from '~/locale'; @@ -70,7 +70,7 @@ export default { labelUrl: this.url, successful: false, }); - createFlash({ + createAlert({ message: error, }); }); |