diff options
Diffstat (limited to 'app/assets/javascripts/jira_connect/subscriptions/pages/sign_in/sign_in_gitlab_com.vue')
-rw-r--r-- | app/assets/javascripts/jira_connect/subscriptions/pages/sign_in/sign_in_gitlab_com.vue | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/app/assets/javascripts/jira_connect/subscriptions/pages/sign_in/sign_in_gitlab_com.vue b/app/assets/javascripts/jira_connect/subscriptions/pages/sign_in/sign_in_gitlab_com.vue index 6de3f507a39..113ce34fdcd 100644 --- a/app/assets/javascripts/jira_connect/subscriptions/pages/sign_in/sign_in_gitlab_com.vue +++ b/app/assets/javascripts/jira_connect/subscriptions/pages/sign_in/sign_in_gitlab_com.vue @@ -2,29 +2,20 @@ import { s__ } from '~/locale'; import { GITLAB_COM_BASE_PATH } from '~/jira_connect/subscriptions/constants'; -import glFeatureFlagMixin from '~/vue_shared/mixins/gl_feature_flags_mixin'; import SubscriptionsList from '../../components/subscriptions_list.vue'; export default { name: 'SignInGitlabCom', components: { SubscriptionsList, - SignInLegacyButton: () => import('../../components/sign_in_legacy_button.vue'), SignInOauthButton: () => import('../../components/sign_in_oauth_button.vue'), }, - mixins: [glFeatureFlagMixin()], - inject: ['usersPath'], props: { hasSubscriptions: { type: Boolean, required: true, }, }, - computed: { - useSignInOauthButton() { - return this.glFeatures.jiraConnectOauth; - }, - }, i18n: { signInButtonTextWithSubscriptions: s__('Integrations|Sign in to add namespaces'), signInText: s__('JiraService|Sign in to GitLab to get started.'), @@ -44,16 +35,12 @@ export default { <div v-if="hasSubscriptions"> <div class="gl-display-flex gl-justify-content-end gl-mb-3"> <sign-in-oauth-button - v-if="useSignInOauthButton" :gitlab-base-path="$options.GITLAB_COM_BASE_PATH" @sign-in="$emit('sign-in-oauth', $event)" @error="onSignInError" > {{ $options.i18n.signInButtonTextWithSubscriptions }} </sign-in-oauth-button> - <sign-in-legacy-button v-else :users-path="usersPath"> - {{ $options.i18n.signInButtonTextWithSubscriptions }} - </sign-in-legacy-button> </div> <subscriptions-list /> @@ -61,12 +48,10 @@ export default { <div v-else class="gl-text-center"> <p class="gl-mb-7">{{ $options.i18n.signInText }}</p> <sign-in-oauth-button - v-if="useSignInOauthButton" :gitlab-base-path="$options.GITLAB_COM_BASE_PATH" @sign-in="$emit('sign-in-oauth', $event)" @error="onSignInError" /> - <sign-in-legacy-button v-else class="gl-mb-7" :users-path="usersPath" /> </div> </div> </template> |