diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-11-10 15:09:14 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-11-10 15:09:14 +0000 |
commit | ff06f859cdabec3c874c004f93fe5082aeacf917 (patch) | |
tree | 5269b37a4cd5181869267e3ce9ece4d11518752b /app/assets/javascripts/registry | |
parent | a08f8baa63c0aea7fcf969da40d30e6cf56365cc (diff) | |
download | gitlab-ce-ff06f859cdabec3c874c004f93fe5082aeacf917.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/registry')
-rw-r--r-- | app/assets/javascripts/registry/explorer/stores/actions.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/registry/explorer/stores/actions.js b/app/assets/javascripts/registry/explorer/stores/actions.js index 3d5b9a36543..abc0bc8ce8c 100644 --- a/app/assets/javascripts/registry/explorer/stores/actions.js +++ b/app/assets/javascripts/registry/explorer/stores/actions.js @@ -1,5 +1,5 @@ import axios from '~/lib/utils/axios_utils'; -import { deprecatedCreateFlash as createFlash } from '~/flash'; +import createFlash from '~/flash'; import Api from '~/api'; import * as types from './mutation_types'; import { @@ -38,7 +38,7 @@ export const requestImagesList = ( dispatch('receiveImagesListSuccess', { data, headers }); }) .catch(() => { - createFlash(FETCH_IMAGES_LIST_ERROR_MESSAGE); + createFlash({ message: FETCH_IMAGES_LIST_ERROR_MESSAGE }); }) .finally(() => { commit(types.SET_MAIN_LOADING, false); |