From be18e1caa490a98bf66c4c8a8fb8fc21023c0046 Mon Sep 17 00:00:00 2001 From: Mo Mesgin Date: Wed, 7 Aug 2024 16:25:22 -0700 Subject: [PATCH] guard against undefined values when accessing entities in azureDescriptions --- .../addon/components/cru-cloud-provider/template.hbs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/shared/addon/components/cru-cloud-provider/template.hbs b/lib/shared/addon/components/cru-cloud-provider/template.hbs index e5d6fb966..59546c606 100644 --- a/lib/shared/addon/components/cru-cloud-provider/template.hbs +++ b/lib/shared/addon/components/cru-cloud-provider/template.hbs @@ -258,9 +258,11 @@ /> {{/if}} -

- {{t (get (get azureDescriptions answer.key) "description") htmlSafe=true}} -

+ {{#if (get azureDescriptions answer.key)}} +

+ {{t (get (get azureDescriptions answer.key) "description") htmlSafe=true}} +

+ {{/if}}