feat(onedrive): Enable search and "My Organization" pivot
This commit is contained in:
1 parent
01a5b97415
commit
07cc807bc9
1 file changed
+8
-1
@@ -176,6 +176,9 @@ interface PickerParams {
|
|||||||
origin: string;
|
origin: string;
|
||||||
channelId: string;
|
channelId: string;
|
||||||
};
|
};
|
||||||
|
search: {
|
||||||
|
enabled: boolean;
|
||||||
|
}
|
||||||
typesAndSources: {
|
typesAndSources: {
|
||||||
mode: string;
|
mode: string;
|
||||||
pivots: Record<string, boolean>;
|
pivots: Record<string, boolean>;
|
||||||
@@ -204,11 +207,15 @@ function getPickerParams(): PickerParams {
|
|||||||
origin: window?.location?.origin || '',
|
origin: window?.location?.origin || '',
|
||||||
channelId
|
channelId
|
||||||
},
|
},
|
||||||
|
search: {
|
||||||
|
enabled: true
|
||||||
|
},
|
||||||
typesAndSources: {
|
typesAndSources: {
|
||||||
mode: 'files',
|
mode: 'files',
|
||||||
pivots: {
|
pivots: {
|
||||||
oneDrive: true,
|
oneDrive: true,
|
||||||
recent: true
|
recent: true,
|
||||||
|
myOrganization: config.getAuthorityType() === "organizations",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in new issue
Block a user