Fix off by one issue

This commit is contained in:
Joseph Schorr 2015-04-15 16:11:04 -04:00
parent daa2ce19aa
commit 20b399318e

View file

@ -194,7 +194,7 @@ angular.module('quay').directive('repoPanelTags', function () {
var next = tagData[i - 1];
if (new Date(current.time).getDate() != new Date(next.time).getDate()) {
tagData.splice(i - 1, 0, {
tagData.splice(i, 0, {
'date_break': true,
'date': new Date(current.time)
});