Commit d7648599 authored by Jérémy Destin's avatar Jérémy Destin

fix: Display country name and code when there is no additionalInfo for the...

fix: Display country name and code when there is no additionalInfo for the geographical location.GNP-5806
parent 923c99d4
......@@ -81,7 +81,7 @@
<faidare-card-row
label="Country name"
[test]="location.countryName && location.additionalInfo && !location.additionalInfo['Geographical location']">
[test]="!(location.additionalInfo && location.additionalInfo['Geographical location']) && location.countryName">
<ng-template>
{{ location.countryName }}
</ng-template>
......@@ -89,7 +89,7 @@
<faidare-card-row
label="Country code"
[test]="location.countryCode && location.additionalInfo && !location.additionalInfo['Geographical location']">
[test]="!(location.additionalInfo && location.additionalInfo['Geographical location']) && location.countryCode">
<ng-template>
{{ location.countryCode }}
</ng-template>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment