update large DS

This commit is contained in:
André Lage 2021-11-26 09:06:07 +01:00
parent a0c73393c8
commit c1d6e369e3
1 changed files with 15 additions and 13 deletions

View File

@ -94,6 +94,7 @@ export default class FollowDocumentWebPart extends React.Component<IFollowDocume
const graphService: Graph = new Graph();
let graphData: any = [];
graphData = await graphService.getGraphContent(`https://graph.microsoft.com/v1.0/me/drive/following?$select=id,name,webUrl,parentReference,followed&Top=1000`, this.props.context);
if (graphData.value !== undefined) {
graphData.value.forEach(data => {
let followDocument: FollowDocument = {
@ -109,6 +110,7 @@ export default class FollowDocumentWebPart extends React.Component<IFollowDocume
followDocuments.push(followDocument);
});
followDocuments = await this.getList(followDocuments);
}
return followDocuments;
}