Skip to content

Commit

Permalink
Sort by URL for unkown
Browse files Browse the repository at this point in the history
  • Loading branch information
eoftedal committed Jan 28, 2020
1 parent a1b1cdb commit da81cc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chrome/js/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function show(totalResults) {
res.sort(function(x, y) {
if (x.unknown != y.unknown) { return x.unknown ? 1 : -1 }
if (x.vulnerable != y.vulnerable) { return x.vulnerable ? -1 : 1 }
return (x.component + x.version).localeCompare(y.component + y.version);
return (x.component + x.version + x.url).localeCompare(y.component + y.version + y.url);
});
res.forEach(function(r) {
var tr = document.createElement("tr");
Expand Down

0 comments on commit da81cc5

Please sign in to comment.