Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Commit

Permalink
Fixed issue #53: Start crawl sends wrong seed to the crawler.
Browse files Browse the repository at this point in the history
  • Loading branch information
soniacq committed Sep 26, 2017
1 parent b16f947 commit e7d2c8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/DeepCrawling.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)));
Expand Down

0 comments on commit e7d2c8a

Please sign in to comment.