diff options
Diffstat (limited to 'app/assets/javascripts/gpg_badges.js')
-rw-r--r-- | app/assets/javascripts/gpg_badges.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/gpg_badges.js b/app/assets/javascripts/gpg_badges.js index d376c9f76ba..0a4733de65f 100644 --- a/app/assets/javascripts/gpg_badges.js +++ b/app/assets/javascripts/gpg_badges.js @@ -1,5 +1,5 @@ import $ from 'jquery'; -import createFlash from '~/flash'; +import { createAlert } from '~/flash'; import axios from '~/lib/utils/axios_utils'; import { queryToObject } from '~/lib/utils/url_utility'; import { loadingIconForLegacyJS } from '~/loading_icon_for_legacy_js'; @@ -19,7 +19,7 @@ export default class GpgBadges { badges.children().attr('aria-label', __('Loading')); const displayError = () => - createFlash({ + createAlert({ message: __('An error occurred while loading commit signatures'), }); |