Small UI fixes to tag history timeline

This commit is contained in:
Joseph Schorr 2017-03-03 13:59:28 -05:00
parent 0dbe267212
commit 35752176b5
3 changed files with 7 additions and 2 deletions

View file

@ -135,6 +135,10 @@ angular.module('quay').directive('repoTagHistory', function () {
$scope.historyEntryMap = tagEntries;
};
$scope.isCurrent = function(entry) {
return $scope.historyEntryMap[entry.tag_name][0] == entry;
};
$scope.getEntryClasses = function(entry, historyFilter) {
if (!entry.action) { return ''; }