Always show the current build at the top of the list

This commit is contained in:
Joseph Schorr 2014-02-14 18:46:20 -05:00
parent 55d846061e
commit 0ceeb6f8e7
3 changed files with 13 additions and 5 deletions

View file

@ -1143,6 +1143,13 @@ quayApp.directive('dockerAuthDialog', function () {
});
quayApp.filter('reverse', function() {
return function(items) {
return items.slice().reverse();
};
});
quayApp.filter('bytes', function() {
return function(bytes, precision) {
if (!bytes || isNaN(parseFloat(bytes)) || !isFinite(bytes)) return 'Unknown';