feat(onedrive): Enable search and "My Organization" pivot

This commit is contained in:
Selene Blok 2025-09-30 16:43:38 +02:00
parent 01a5b97415
commit 07cc807bc9

View file

@ -176,6 +176,9 @@ interface PickerParams {
origin: string;
channelId: string;
};
search: {
enabled: boolean;
}
typesAndSources: {
mode: string;
pivots: Record<string, boolean>;
@ -204,11 +207,15 @@ function getPickerParams(): PickerParams {
origin: window?.location?.origin || '',
channelId
},
search: {
enabled: true
},
typesAndSources: {
mode: 'files',
pivots: {
oneDrive: true,
recent: true
recent: true,
myOrganization: config.getAuthorityType() === "organizations",
}
}
};