From 128c11967ebbc6d8eb1b3a1bee93774171cb813c Mon Sep 17 00:00:00 2001 From: github-automatic-chores Date: Thu, 23 Nov 2023 10:32:07 +0000 Subject: [PATCH] automatic chores: linting [skip-ci] This is a commit done by the GitHub action https://github.com/Puzzlepart/prosjektportalen365/blob/releases/1.9/.github/workflows/automatic_chores.yml. --- .../data/useProjectInformationDataFetch.ts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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: {