diff --git a/js/main.js b/js/main.js index 84f6140..a18310a 100644 --- a/js/main.js +++ b/js/main.js @@ -47,7 +47,7 @@ function updateDT(data) { const forks = []; for (let fork of data) { fork.repoLink = `Link`; - fork.ownerName = fork.owner ? fork.owner.login : 'Unknown'; + fork.ownerName = `${fork.owner ? fork.owner.login : 'Unknown'}`; forks.push(fork); } const dataSet = forks.map(fork => @@ -100,7 +100,7 @@ function initDT() { order: [[sortColumnIdx, 'desc']], // paging: false, searchBuilder:{ - // all options at default + // all options at default } }); let table = window.forkTable;