From 818c3bf24d84359fc96b6f51be9b6fd7dbac50c8 Mon Sep 17 00:00:00 2001 From: zvizvi <5633910@gmail.com> Date: Mon, 24 May 2021 01:01:41 +0300 Subject: [PATCH] Show repo owner profile image --- js/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;