mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
Fix Update button disabled when clearing optional tenantID in Microsoft OAuth (#2619)
This commit is contained in:
1 parent
4d440b22d1
commit
345acee2e4
1 file changed
+3
-2
+3
-2
@@ -38,8 +38,9 @@
|
||||
}
|
||||
};
|
||||
|
||||
$: secret =
|
||||
clientSecret && tenantID ? JSON.stringify({ clientSecret, tenantID }) : provider.secret;
|
||||
$: secret = clientSecret
|
||||
? JSON.stringify({ clientSecret, ...(tenantID && { tenantID }) })
|
||||
: provider.secret;
|
||||
</script>
|
||||
|
||||
<Modal {error} onSubmit={update} bind:show on:close title={`${provider.name} OAuth2 settings`}>
|
||||
|
||||
Reference in new issue
Block a user