Update filters.js

fixed issue w/ github enterprise and not display correct URL path
This commit is contained in:
Brad Rydzewski 2014-08-07 12:30:19 -07:00
parent 95c375dceb
commit 10e493ba1e

View file

@ -33,7 +33,7 @@ angular.module('app').filter('fullName', function() {
angular.module('app').filter('fullPath', function() {
return function(repo) {
if (repo == undefined) { return ""; }
return repo.remote+"/"+repo.owner+"/"+repo.name;
return repo.host+"/"+repo.owner+"/"+repo.name;
}
});
@ -104,4 +104,4 @@ angular.module('app').filter('unique', function() {
}
return uniqueList;
};
});
});