Commit a7a5c9db authored by Benzakein Jeremy's avatar Benzakein Jeremy

last touchees

parent 343cdd7e
......@@ -26,7 +26,7 @@ const getPerson = async (index) => {
};
const createRow = (obj) => {
datatable.row.add([
"sort_asc.png",
obj.img,
obj.name,
obj.birthYear,
obj.origin,
......
......@@ -30,11 +30,11 @@ exports.getPers = async (index) => {
if(hw != null && hw.name != undefined){
personObj.setOrigin(hw.name);
}
//return getImageFromName(personObj.name);
return exports.getImageFromName(personObj.name);
})
.then(resultURL=>{
personObj.setImg(resultURL);
})
//.then(resultURL=>{
// personObj.setImg(resultURL);
//})
.catch(err =>{
console.error(err);
});
......
Markdown is supported
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