10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-12-24 13:23:40 +01:00

Fix supporting information

This commit is contained in:
Mickaël Véril 2020-01-08 15:48:35 +01:00
parent b29ce581d2
commit 94cb411297

View File

@ -106,11 +106,11 @@ class DOI {
};
static fromString(str){
const vals=str.split(",")
if (vals.length>1) {
if (vals.length==1) {
return new DOI(vals[0].toString())
}
else{
return new DOI(str[0].toString(),(true ? str[1]=== true.toString() : false))
return new DOI(vals[0].toString(),(true ? vals[1]=== true.toString() : false))
}
}
toString() {