Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-09-30 03:08:26 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-09-30 03:08:26 +0300
commitd210b1bee140e0f2c1f09635dd14a872e07a3100 (patch)
tree65c5c0002ef2038e8a46d40067810923851b7926 /app/assets/javascripts/project_select.js
parent836ddfc35d1778675b3bd6d51f51972f36a96bbe (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/project_select.js')
-rw-r--r--app/assets/javascripts/project_select.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/project_select.js b/app/assets/javascripts/project_select.js
index 09acf98001c..705234537a8 100644
--- a/app/assets/javascripts/project_select.js
+++ b/app/assets/javascripts/project_select.js
@@ -1,7 +1,7 @@
/* eslint-disable func-names */
import $ from 'jquery';
-import createFlash from '~/flash';
+import { createAlert } from '~/flash';
import Api from './api';
import { loadCSSFile } from './lib/utils/css_utils';
import { s__ } from './locale';
@@ -67,7 +67,7 @@ const projectSelect = async () => {
},
projectsCallback,
).catch(() => {
- createFlash({
+ createAlert({
message: s__('ProjectSelect|Something went wrong while fetching projects'),
});
});