mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
chore(core): update sdk
This commit is contained in:
@@ -97,14 +97,12 @@ export class AuthDialogController implements IInitializableController, IDestruct
|
|||||||
}
|
}
|
||||||
|
|
||||||
private compareProviders = (providerA: AuthProvider, providerB: AuthProvider): number => {
|
private compareProviders = (providerA: AuthProvider, providerB: AuthProvider): number => {
|
||||||
if (providerA.isDefault === providerB.isDefault)
|
if (providerA.default === providerB.default)
|
||||||
{
|
{
|
||||||
return providerA.label.localeCompare(providerB.label);
|
return providerA.label.localeCompare(providerB.label);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (providerA.isDefault === providerB.isDefault) {
|
if (providerA.default) {
|
||||||
return 0;
|
|
||||||
} if (providerA.isDefault) {
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
return -1;
|
return -1;
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ query getAuthProviders {
|
|||||||
label
|
label
|
||||||
icon
|
icon
|
||||||
description
|
description
|
||||||
isDefault
|
default
|
||||||
|
|
||||||
#configurationParameters {
|
#configurationParameters {
|
||||||
# id
|
# id
|
||||||
|
|||||||
+380
-382
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user