Fix off by one issue
This commit is contained in:
parent
daa2ce19aa
commit
20b399318e
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
});
|
||||
|
|
Reference in a new issue