Skip to content

Commit 3795b59

Browse files
committed
fix condition to disable the oauth connect button
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
1 parent a59e61a commit 3795b59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/PersonalSettings.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
</NcButton>
5454
</div>
5555
<NcButton v-if="showOAuth && !connected"
56-
:disabled="loading === true || (!showOAuth && !state.token)"
56+
:disabled="loading || state.token !== ''"
5757
:class="{ loading, connectButton: true }"
5858
@click="connectWithOauth">
5959
<template #icon>

0 commit comments

Comments
 (0)