Skip to content

Commit

Permalink
Fiks for kommandolinje og standard egenskaper på prosjekttidslinje (#…
Browse files Browse the repository at this point in the history
…1043)

* Update WebPart props for ProjectTimeline (UpgradeAllSites...)

* Update _JsonTemplates to set correct props for Timeline webpart

* Remove showFilterButton boolean - no longer in use

* Add ProjectTimeline default props

* Changelog
  • Loading branch information
Remi749 authored and olemp committed Mar 29, 2023
1 parent d0fe2c9 commit 6334336
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Sjekk ut [release notes](./release_notes/1.8.0.md) for høydepunkter og mer deta
### Feilrettinger

- Fikset et problem i oppgraderingsskript der noen tenants ikke kunne hente alle hub children
- Fikset et problem hvor kommandolinje ikke ble vist som standard [#1042](https://github.com/Puzzlepart/prosjektportalen365/issues/1042)

## 1.8.0 - 28.02.2023

Expand Down
2 changes: 1 addition & 1 deletion Install/Scripts/UpgradeAllSitesToLatest.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ $UserName = $Context.Web.CurrentUser.LoginName

Write-Host "Retrieving all sites of the Project Portal hub..."
$ProjectsHub = Get-PnPTenantSite -Identity $Url
$ProjectsInHub = Get-PnPTenantSite | Where-Object {$_.HubSiteId -eq $ProjectsHub.HubSiteId -and $_.Url -ne $ProjectsHub.Url } | ForEach-Object { return $_.Url }
$ProjectsInHub = Get-PnPTenantSite | Where-Object { $_.HubSiteId -eq $ProjectsHub.HubSiteId -and $_.Url -ne $ProjectsHub.Url } | ForEach-Object { return $_.Url }

Write-Host "The following sites were found to be part of the Project Portal hub:"
$ProjectsInHub | ForEach-Object { Write-Host "`t$_" }
Expand Down

0 comments on commit 6334336

Please sign in to comment.