diff options
Diffstat (limited to 'app/assets/javascripts/service_ping_consent.js')
-rw-r--r-- | app/assets/javascripts/service_ping_consent.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/service_ping_consent.js b/app/assets/javascripts/service_ping_consent.js index f145a1b30db..f2c3f28cefa 100644 --- a/app/assets/javascripts/service_ping_consent.js +++ b/app/assets/javascripts/service_ping_consent.js @@ -1,5 +1,5 @@ import $ from 'jquery'; -import createFlash, { hideFlash } from './flash'; +import { createAlert, hideFlash } from './flash'; import axios from './lib/utils/axios_utils'; import { parseBoolean } from './lib/utils/common_utils'; import { __ } from './locale'; @@ -27,7 +27,7 @@ export default () => { }) .catch(() => { hideConsentMessage(); - createFlash({ + createAlert({ message: __('Something went wrong. Try again later.'), }); }); |