Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fikse feil på 'Hent prosjektdata' dialog #1048

Merged
merged 3 commits into from
Mar 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Sjekk ut [release notes](./releasenotes/1.8.0.md) for høydepunkter og mer detal

- 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)
- Fikset problem hvor det ikke var mulig å synkronisere data fra 'Prosjektdata' listen (Idebehandling)

## 1.8.0 - 28.02.2023

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ class SPDataAdapter extends SPDataAdapterBase<ISPDataAdapterConfiguration> {
{}
)
const [fields, siteUsers] = await Promise.all([
templateParameters.ProjectContentTypeId
templateParameters?.ProjectContentTypeId
? this.entityService
.usingParams({ contentTypeId: templateParameters.ProjectContentTypeId })
.getEntityFields()
Expand All @@ -146,7 +146,7 @@ class SPDataAdapter extends SPDataAdapterBase<ISPDataAdapterConfiguration> {
}[]
>()
])
const fieldsToSync = this._getFieldsToSync(fields, templateParameters.CustomSiteFields, [
const fieldsToSync = this._getFieldsToSync(fields, templateParameters?.CustomSiteFields, [
'GtIsParentProject',
'GtIsProgram'
])
Expand Down