Skip to content

Commit

Permalink
fix(editor): Correctly show OAuth reconnect button (#5384)
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegIvaniv authored Feb 6, 2023
1 parent 03afd3c commit 6482688
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@
:buttonTitle="$locale.baseText('credentialEdit.credentialConfig.reconnectOAuth2Credential')"
@click="$emit('oauth')"
>
<template #button>
<template #button v-if="isGoogleOAuthType">
<p
v-text="`${$locale.baseText('credentialEdit.credentialConfig.reconnect')}:`"
:class="$style.googleReconnectLabel"
/>
<GoogleAuthButton v-if="isGoogleOAuthType" @click="$emit('oauth')" />
<GoogleAuthButton @click="$emit('oauth')" />
</template>
</banner>

Expand Down

0 comments on commit 6482688

Please sign in to comment.