mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-21 02:56:40 -08:00
fix(editor): Correctly show OAuth reconnect button (#5384)
This commit is contained in:
parent
03afd3c7cf
commit
6482688ee0
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue