diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-20 15:21:30 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-20 15:21:30 +0300 |
commit | 2366f969a4b3a95e052e551cc7283a2db8d5562e (patch) | |
tree | 33ea679dad4b92048697729f68f9c606f91b32e4 /app/assets/javascripts/vue_shared/new_namespace | |
parent | c7eec01f1b68b2e047cdd709751cb695ab329933 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/vue_shared/new_namespace')
-rw-r--r-- | app/assets/javascripts/vue_shared/new_namespace/new_namespace_page.vue | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/app/assets/javascripts/vue_shared/new_namespace/new_namespace_page.vue b/app/assets/javascripts/vue_shared/new_namespace/new_namespace_page.vue index 31fd9e0a0ec..21ffd0fc23b 100644 --- a/app/assets/javascripts/vue_shared/new_namespace/new_namespace_page.vue +++ b/app/assets/javascripts/vue_shared/new_namespace/new_namespace_page.vue @@ -13,17 +13,10 @@ export default { GlIcon, WelcomePage, LegacyContainer, - CreditCardVerification: () => - import('ee_component/namespaces/verification/components/credit_card_verification.vue'), }, directives: { SafeHtml, }, - inject: { - verificationRequired: { - default: false, - }, - }, props: { title: { type: String, @@ -51,7 +44,6 @@ export default { data() { return { activePanelName: null, - verificationCompleted: false, }; }, @@ -84,10 +76,6 @@ export default { : this.initialBreadcrumbs; }, - shouldVerify() { - return this.verificationRequired && !this.verificationCompleted; - }, - showNewTopLevelGroupAlert() { if (this.activePanel.detailProps === undefined) { return false; @@ -121,16 +109,12 @@ export default { localStorage.setItem(this.persistenceKey, this.activePanelName); } }, - onVerified() { - this.verificationCompleted = true; - }, }, }; </script> <template> - <credit-card-verification v-if="shouldVerify" @verified="onVerified" /> - <div v-else-if="!activePanelName" class="gl-mt-4"> + <div v-if="!activePanelName" class="gl-mt-4"> <gl-breadcrumb :items="breadcrumbs" data-testid="breadcrumb-links" /> <welcome-page :panels="panels" :title="title"> <template #footer> |