mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 12:55:19 +00:00
style(onedrive): Formatting fix
This commit is contained in:
parent
07cc807bc9
commit
5c059e604b
1 changed files with 3 additions and 3 deletions
|
|
@ -51,7 +51,7 @@ class OneDriveConfig {
|
||||||
this.sharepointTenantId = config.onedrive?.sharepoint_tenant_id;
|
this.sharepointTenantId = config.onedrive?.sharepoint_tenant_id;
|
||||||
|
|
||||||
if (!this.clientIdPersonal && !this.clientIdBusiness) {
|
if (!this.clientIdPersonal && !this.clientIdBusiness) {
|
||||||
throw new Error('OneDrive personal or business client ID not configured');
|
throw new Error('OneDrive personal or business client ID not configured');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -178,7 +178,7 @@ interface PickerParams {
|
||||||
};
|
};
|
||||||
search: {
|
search: {
|
||||||
enabled: boolean;
|
enabled: boolean;
|
||||||
}
|
};
|
||||||
typesAndSources: {
|
typesAndSources: {
|
||||||
mode: string;
|
mode: string;
|
||||||
pivots: Record<string, boolean>;
|
pivots: Record<string, boolean>;
|
||||||
|
|
@ -215,7 +215,7 @@ function getPickerParams(): PickerParams {
|
||||||
pivots: {
|
pivots: {
|
||||||
oneDrive: true,
|
oneDrive: true,
|
||||||
recent: true,
|
recent: true,
|
||||||
myOrganization: config.getAuthorityType() === "organizations",
|
myOrganization: config.getAuthorityType() === 'organizations'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue