Skip to content

Commit

Permalink
automatic chores: linting [skip-ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
github-automatic-chores committed Jun 4, 2024
1 parent 8a6399d commit 937a1a1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion SharePointFramework/PortfolioWebParts/src/data/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,9 @@ export class DataAdapter implements IPortfolioWebPartsDataAdapter {
])
projects = projects.map((item) => cleanDeep({ ...item }))
sites = sites.map((item) => cleanDeep({ ...item }))
statusReports = statusReports.sort((a, b) => b['ListItemId'] - a['ListItemId']).map((item) => cleanDeep({ ...item }))
statusReports = statusReports
.sort((a, b) => b['ListItemId'] - a['ListItemId'])
.map((item) => cleanDeep({ ...item }))
sites = sites.filter(
(site) => projects.filter((res) => res[siteIdProperty] === site['SiteId']).length === 1
)
Expand Down

0 comments on commit 937a1a1

Please sign in to comment.