From e7d2c8a965c76a159058876daddb11c21b609531 Mon Sep 17 00:00:00 2001 From: sonia castelo Date: Tue, 26 Sep 2017 15:53:16 -0400 Subject: [PATCH] Fixed issue #53: Start crawl sends wrong seed to the crawler. --- client/src/components/DeepCrawling.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/DeepCrawling.js b/client/src/components/DeepCrawling.js index a81fcfd..dd37450 100644 --- a/client/src/components/DeepCrawling.js +++ b/client/src/components/DeepCrawling.js @@ -123,7 +123,7 @@ class DeepCrawling extends Component { getCurrentUrlsfromDeepCrawlTag(pages){ var urlsList = {}; var urlsList2 = (Object.keys(pages).length>0)? Object.keys(pages) - .map((k, index)=>{ urlsList[k]="1"; }) : {}; + .map((k, index)=>{ urlsList[k]=""; }) : {}; return Object.keys(urlsList) .map(reco => [reco, urlsList[reco]]) .sort((a, b) => ((a[1] > b[1]) ? -1 : ((a[1] < b[1]) ? 1 : 0)));