guard against undefined values when accessing entities in azureDescriptions

This commit is contained in:
Mo Mesgin 2024-08-07 16:25:22 -07:00
parent 6b005ce32f
commit be18e1caa4
1 changed files with 5 additions and 3 deletions

View File

@ -258,9 +258,11 @@
/>
{{/if}}
</label>
<p class="help-block mt-0">
{{t (get (get azureDescriptions answer.key) "description") htmlSafe=true}}
</p>
{{#if (get azureDescriptions answer.key)}}
<p class="help-block mt-0">
{{t (get (get azureDescriptions answer.key) "description") htmlSafe=true}}
</p>
{{/if}}
</div>
<div class="col span-6">
<CheckOverrideAllowed