Skip to content

Commit 4dbb6f1

Browse files
author
PoeppingT
committed
fix crash on logout/timeout
1 parent 712014d commit 4dbb6f1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

client/web/src/settings/ApplicationComponent.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,10 @@ export function ApplicationComponent(props) {
166166

167167
const parseServicesFromAppConfig = () => {
168168
let initialServiceValues = []
169-
for (const serviceName of Object.keys(appConfig.services).sort()) {
170-
initialServiceValues.push(generateAppConfigOrDefaultInitialValuesForService(serviceName))
169+
if (!!appConfig?.services) {
170+
for (const serviceName of Object.keys(appConfig?.services).sort()) {
171+
initialServiceValues.push(generateAppConfigOrDefaultInitialValuesForService(serviceName))
172+
}
171173
}
172174
return initialServiceValues
173175
}

0 commit comments

Comments
 (0)