Fix crash while rendering IdentitySettingManagementComponent #18162
Description
It's still rendered on the final UI, but while Settings.IdentitySessionSettings
is being set, this if statement prevents crashing
Resolves #17835
Checklist
- I fully tested it as developer / designer and created unit / integration tests
- I documented it (or no need to document or I will create a separate documentation issue)
- I worked with the design team to get their idea for UI/UX design (or no need to design for this PR)
- I've assigned reviewer, related labels and set a milestone for this PR
How to test it?
Please describe how this can be tested by the test engineers if it is not already explicit - or remove this section if no need to description.