@@ -39,7 +39,17 @@ export class SiteCardComponent implements OnInit {
}
manageAdditionalInfo(keyValues:KeyValueObject[]){
varforbiddenElements:String[]=['Site status','Coordinates precision','Slope','Exposure','Geographical location','Distance to city','Direction from city','Environment type','Topography','Comment'];
constforbiddenElements:String[]=[
'Site status',
'Coordinates precision',
'Slope',
'Exposure',
'Geographical location',
'Distance to city',
'Direction from city',
'Environment type',
'Topography',
'Comment'];
for(constkeyValueofkeyValues){
if(!forbiddenElements.includes(keyValue.key)){
this.additionalInfos.push(keyValue);
...
...
@@ -49,28 +59,27 @@ export class SiteCardComponent implements OnInit {