style(onedrive): Formatting fix
This commit is contained in:
@@ -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'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user