Add missing guard to fix public page (#3339)

pull/3340/head
Thomas Kaul 1 month ago committed by GitHub
parent ac953df809
commit e10707fde4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -359,7 +359,7 @@ export class PortfolioService {
calculationType: PerformanceCalculationType.TWR, calculationType: PerformanceCalculationType.TWR,
currency: userCurrency, currency: userCurrency,
isExperimentalFeatures: isExperimentalFeatures:
this.request.user.Settings.settings.isExperimentalFeatures this.request.user?.Settings.settings.isExperimentalFeatures
}); });
const { currentValueInBaseCurrency, hasErrors, positions } = const { currentValueInBaseCurrency, hasErrors, positions } =

Loading…
Cancel
Save