diff options
Diffstat (limited to 'app/assets/javascripts/branches')
-rw-r--r-- | app/assets/javascripts/branches/divergence_graph.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/branches/divergence_graph.js b/app/assets/javascripts/branches/divergence_graph.js index 17fd3939441..d05b53f1a50 100644 --- a/app/assets/javascripts/branches/divergence_graph.js +++ b/app/assets/javascripts/branches/divergence_graph.js @@ -1,5 +1,5 @@ import Vue from 'vue'; -import createFlash from '~/flash'; +import { createAlert } from '~/flash'; import axios from '~/lib/utils/axios_utils'; import { __ } from '~/locale'; import DivergenceGraph from './components/divergence_graph.vue'; @@ -51,7 +51,7 @@ export default (endpoint, defaultBranch) => { }); }) .catch(() => - createFlash({ + createAlert({ message: __('Error fetching diverging counts for branches. Please try again.'), }), ); |