diff options
Diffstat (limited to 'app/assets/javascripts/feature_flags/components/environments_dropdown.vue')
-rw-r--r-- | app/assets/javascripts/feature_flags/components/environments_dropdown.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/feature_flags/components/environments_dropdown.vue b/app/assets/javascripts/feature_flags/components/environments_dropdown.vue index 70b60b4b113..ce5f7915dbf 100644 --- a/app/assets/javascripts/feature_flags/components/environments_dropdown.vue +++ b/app/assets/javascripts/feature_flags/components/environments_dropdown.vue @@ -1,7 +1,7 @@ <script> import { GlButton, GlSearchBoxByType } from '@gitlab/ui'; import { debounce } from 'lodash'; -import createFlash from '~/flash'; +import { createAlert } from '~/flash'; import axios from '~/lib/utils/axios_utils'; import { __ } from '~/locale'; @@ -87,7 +87,7 @@ export default { .catch(() => { this.isLoading = false; this.closeSuggestions(); - createFlash({ + createAlert({ message: __('Something went wrong on our end. Please try again.'), }); }); |