fix(editor): Correctly show OAuth reconnect button (#5384)
This commit is contained in:
@@ -40,12 +40,12 @@
|
|||||||
:buttonTitle="$locale.baseText('credentialEdit.credentialConfig.reconnectOAuth2Credential')"
|
:buttonTitle="$locale.baseText('credentialEdit.credentialConfig.reconnectOAuth2Credential')"
|
||||||
@click="$emit('oauth')"
|
@click="$emit('oauth')"
|
||||||
>
|
>
|
||||||
<template #button>
|
<template #button v-if="isGoogleOAuthType">
|
||||||
<p
|
<p
|
||||||
v-text="`${$locale.baseText('credentialEdit.credentialConfig.reconnect')}:`"
|
v-text="`${$locale.baseText('credentialEdit.credentialConfig.reconnect')}:`"
|
||||||
:class="$style.googleReconnectLabel"
|
:class="$style.googleReconnectLabel"
|
||||||
/>
|
/>
|
||||||
<GoogleAuthButton v-if="isGoogleOAuthType" @click="$emit('oauth')" />
|
<GoogleAuthButton @click="$emit('oauth')" />
|
||||||
</template>
|
</template>
|
||||||
</banner>
|
</banner>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user