Skip to content
Snippets Groups Projects
Commit 95ea56a1 authored by Simon Malesys's avatar Simon Malesys
Browse files

Remove versionDate from the stats display

parent 81c96d57
No related branches found
No related tags found
No related merge requests found
Pipeline #151070 passed with stages
in 6 minutes and 52 seconds
{ {
"versionDate": "",
"antibodies": 1355665, "antibodies": 1355665,
"species": [ "species": [
"Homo sapiens", "Homo sapiens",
......
...@@ -36,6 +36,9 @@ export class Statistics { ...@@ -36,6 +36,9 @@ export class Statistics {
*/ */
toString() { toString() {
return JSON.stringify(this, (key, value) => { return JSON.stringify(this, (key, value) => {
// Don't include versionDate
if (key === 'versionDate') return undefined
return value instanceof Set ? [...value] : value return value instanceof Set ? [...value] : value
}, 2) }, 2)
} }
......
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