diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-02-18 13:34:06 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-02-18 13:34:06 +0300 |
commit | 859a6fb938bb9ee2a317c46dfa4fcc1af49608f0 (patch) | |
tree | d7f2700abe6b4ffcb2dcfc80631b2d87d0609239 /app/assets/javascripts/invite_member/components/invite_member_modal.vue | |
parent | 446d496a6d000c73a304be52587cd9bbc7493136 (diff) |
Add latest changes from gitlab-org/gitlab@13-9-stable-eev13.9.0-rc42
Diffstat (limited to 'app/assets/javascripts/invite_member/components/invite_member_modal.vue')
-rw-r--r-- | app/assets/javascripts/invite_member/components/invite_member_modal.vue | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/assets/javascripts/invite_member/components/invite_member_modal.vue b/app/assets/javascripts/invite_member/components/invite_member_modal.vue index 3df99bccdb0..144c1a2c22a 100644 --- a/app/assets/javascripts/invite_member/components/invite_member_modal.vue +++ b/app/assets/javascripts/invite_member/components/invite_member_modal.vue @@ -1,8 +1,9 @@ <script> import { GlModal, GlLink } from '@gitlab/ui'; -import eventHub from '../event_hub'; +import { BV_SHOW_MODAL } from '~/lib/utils/constants'; import { s__, __ } from '~/locale'; import { OPEN_MODAL, MODAL_ID } from '../constants'; +import eventHub from '../event_hub'; export default { cancelProps: { @@ -38,7 +39,7 @@ export default { }, methods: { openModal() { - this.$root.$emit('bv::show::modal', MODAL_ID); + this.$root.$emit(BV_SHOW_MODAL, MODAL_ID); }, }, }; |