Skip to content

Commit

Permalink
remove undefined/null values from crawls metadata exports
Browse files Browse the repository at this point in the history
  • Loading branch information
boogheta committed Aug 25, 2023
1 parent 2711a5a commit 20ca478
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hyphe_frontend/app/views/monitorCrawls.js
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,9 @@ angular.module('hyphe.monitorcrawlsController', [])
} else if (type == 'array of string') {
value = value.sort().join(' ')
}
return value;
if (value === null || value === undefined)
return ""
return value
})
})
// Parsing
Expand Down

0 comments on commit 20ca478

Please sign in to comment.