diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-10-20 12:40:42 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-10-20 12:40:42 +0300 |
commit | ee664acb356f8123f4f6b00b73c1e1cf0866c7fb (patch) | |
tree | f8479f94a28f66654c6a4f6fb99bad6b4e86a40e /app/assets/javascripts/deploy_keys/components/app.vue | |
parent | 62f7d5c5b69180e82ae8196b7b429eeffc8e7b4f (diff) |
Add latest changes from gitlab-org/gitlab@15-5-stable-eev15.5.0-rc42
Diffstat (limited to 'app/assets/javascripts/deploy_keys/components/app.vue')
-rw-r--r-- | app/assets/javascripts/deploy_keys/components/app.vue | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/assets/javascripts/deploy_keys/components/app.vue b/app/assets/javascripts/deploy_keys/components/app.vue index 36d54f586f1..db5e9a954cf 100644 --- a/app/assets/javascripts/deploy_keys/components/app.vue +++ b/app/assets/javascripts/deploy_keys/components/app.vue @@ -1,6 +1,6 @@ <script> import { GlLoadingIcon, GlIcon } from '@gitlab/ui'; -import createFlash from '~/flash'; +import { createAlert } from '~/flash'; import { s__ } from '~/locale'; import NavigationTabs from '~/vue_shared/components/navigation_tabs.vue'; import eventHub from '../eventhub'; @@ -93,7 +93,7 @@ export default { .catch(() => { this.isLoading = false; this.store.keys = {}; - return createFlash({ + return createAlert({ message: s__('DeployKeys|Error getting deploy keys'), }); }); @@ -103,7 +103,7 @@ export default { .enableKey(deployKey.id) .then(this.fetchKeys) .catch(() => - createFlash({ + createAlert({ message: s__('DeployKeys|Error enabling deploy key'), }), ); @@ -119,7 +119,7 @@ export default { .then(this.fetchKeys) .then(hideModal) .catch(() => - createFlash({ + createAlert({ message: s__('DeployKeys|Error removing deploy key'), }), ); |