diff --git a/SharePointFramework/ProjectWebParts/src/components/ProjectInformation/data/useProjectInformationDataFetch.ts b/SharePointFramework/ProjectWebParts/src/components/ProjectInformation/data/useProjectInformationDataFetch.ts index 55ef0b90b..791da3d6b 100644 --- a/SharePointFramework/ProjectWebParts/src/components/ProjectInformation/data/useProjectInformationDataFetch.ts +++ b/SharePointFramework/ProjectWebParts/src/components/ProjectInformation/data/useProjectInformationDataFetch.ts @@ -47,12 +47,14 @@ const fetchData: DataFetchFunction< fetchProjectStatusReportData(context), isFrontpage ? SPDataAdapter.portal.getParentProjects( - context.props.webAbsoluteUrl, - ProjectInformationParentProject - ) + context.props.webAbsoluteUrl, + ProjectInformationParentProject + ) : Promise.resolve([]) ]) - const templateName = projectInformationData.fieldValues.get('GtProjectTemplate', { format: 'text' }) + const templateName = projectInformationData.fieldValues.get('GtProjectTemplate', { + format: 'text' + }) const template = await SPDataAdapter.portal.getProjectTemplate(templateName) const data: Partial = { data: {