diff options
Diffstat (limited to 'app/assets/javascripts/projects/commit_box/info/components/commit_box_pipeline_mini_graph.vue')
-rw-r--r-- | app/assets/javascripts/projects/commit_box/info/components/commit_box_pipeline_mini_graph.vue | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/assets/javascripts/projects/commit_box/info/components/commit_box_pipeline_mini_graph.vue b/app/assets/javascripts/projects/commit_box/info/components/commit_box_pipeline_mini_graph.vue index 4505dd1f85c..2802e4a90b9 100644 --- a/app/assets/javascripts/projects/commit_box/info/components/commit_box_pipeline_mini_graph.vue +++ b/app/assets/javascripts/projects/commit_box/info/components/commit_box_pipeline_mini_graph.vue @@ -1,6 +1,6 @@ <script> import { GlLoadingIcon } from '@gitlab/ui'; -import createFlash from '~/flash'; +import { createAlert } from '~/flash'; import { __ } from '~/locale'; import { getQueryHeaders, @@ -59,7 +59,7 @@ export default { return project?.pipeline; }, error() { - createFlash({ message: this.$options.i18n.linkedPipelinesFetchError }); + createAlert({ message: this.$options.i18n.linkedPipelinesFetchError }); }, }, pipelineStages: { @@ -78,7 +78,7 @@ export default { return project?.pipeline?.stages?.nodes || []; }, error() { - createFlash({ message: this.$options.i18n.stagesFetchError }); + createAlert({ message: this.$options.i18n.stagesFetchError }); }, }, }, @@ -108,7 +108,7 @@ export default { try { this.formattedStages = formatStages(this.pipelineStages, this.stages); } catch (error) { - createFlash({ + createAlert({ message: this.$options.i18n.stageConversionError, captureError: true, error, |