Skip to content

Commit 11b2f9c

Browse files
author
PoeppingT
committed
Fix auto-logout from appConfig page
1 parent e105211 commit 11b2f9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/web/src/settings/TierServiceSettingsSubform.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const TierServiceSettingsSubform = (props) => {
5353
serviceValues,
5454
} = props
5555

56-
const [selectedTier, setSelectedTier] = useState(tiers[0].name)
56+
const [selectedTier, setSelectedTier] = useState(!!tiers && !!tiers[0] ? tiers[0].name : '')
5757

5858
// TODO we have a tierNames list we get from the tier service?
5959
// TODO does that need to be controlled by the ApplicationContainer.. wherever the initialValues are set?

0 commit comments

Comments
 (0)