added Co Author
This commit is contained in:
@ -51,7 +51,14 @@ async function downloadArticle (research) {
|
||||
}
|
||||
|
||||
function downloadCoAuthors(){
|
||||
const data = JSON.stringify(researcher.value);
|
||||
let coAuthors = []
|
||||
for (let i in researchList.value) {
|
||||
for (const j in researchList.value[i].coAuthors){
|
||||
const coAuthor = researchList.value[i].coAuthors[j]
|
||||
coAuthors.push(coAuthor)
|
||||
}
|
||||
}
|
||||
const data = JSON.stringify(coAuthors);
|
||||
const blob = new Blob([data], {type:"application/json"});
|
||||
return URL.createObjectURL(blob);
|
||||
}
|
||||
|
Reference in New Issue
Block a user