From 6b9c6a636ab0329323ad3bbd97d4f26ea9a9a649 Mon Sep 17 00:00:00 2001 From: github-automatic-chores Date: Wed, 16 Oct 2024 07:26:47 +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. --- SharePointFramework/PortfolioWebParts/src/data/index.ts | 4 +++- SharePointFramework/ProgramWebParts/src/data/SPDataAdapter.ts | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/SharePointFramework/PortfolioWebParts/src/data/index.ts b/SharePointFramework/PortfolioWebParts/src/data/index.ts index e40db032e..6861ea5b1 100644 --- a/SharePointFramework/PortfolioWebParts/src/data/index.ts +++ b/SharePointFramework/PortfolioWebParts/src/data/index.ts @@ -587,7 +587,9 @@ export class DataAdapter implements IPortfolioWebPartsDataAdapter { users } let projects = this._combineResultData(result) - projects = projects.filter((m) => m.lifecycleStatus !== 'Avsluttet' && m.lifecycleStatus !== 'Stengt') + projects = projects.filter( + (m) => m.lifecycleStatus !== 'Avsluttet' && m.lifecycleStatus !== 'Stengt' + ) projects = projects.sort((a, b) => a.title.localeCompare(b.title)) return projects } diff --git a/SharePointFramework/ProgramWebParts/src/data/SPDataAdapter.ts b/SharePointFramework/ProgramWebParts/src/data/SPDataAdapter.ts index 996d5f1aa..462984a63 100644 --- a/SharePointFramework/ProgramWebParts/src/data/SPDataAdapter.ts +++ b/SharePointFramework/ProgramWebParts/src/data/SPDataAdapter.ts @@ -599,7 +599,8 @@ export class SPDataAdapter // eslint-disable-next-line quotes .filter("GtProjectLifecycleStatus ne 'Avsluttet' and GtProjectLifecycleStatus ne 'Stengt'") .orderBy('Title') - .using(DefaultCaching).getAll(), + .using(DefaultCaching) + .getAll(), MSGraph.Get( '/me/memberOf/$/microsoft.graph.group', ['id', 'displayName'],