Skip to content
Snippets Groups Projects

Fix wrong timestamps for files with the same name

Merged Nataliia Radina requested to merge 363436-incorrect-timestamps-and-messages into master
All threads resolved!
1 file
+ 3
3
Compare changes
  • Side-by-side
  • Inline
@@ -103,13 +103,13 @@ export default {
@@ -103,13 +103,13 @@ export default {
return this.rowNumbers[key];
return this.rowNumbers[key];
},
},
getCommit(fileName, type) {
getCommit(flatPath, type) {
if (!this.glFeatures.lazyLoadCommits) {
if (!this.glFeatures.lazyLoadCommits) {
return {};
return {};
}
}
return this.commits.find(
return this.commits.find(
(commitEntry) => commitEntry.fileName === fileName && commitEntry.type === type,
(commitEntry) => commitEntry.filePath === flatPath && commitEntry.type === type,
);
);
},
},
},
},
@@ -152,7 +152,7 @@ export default {
@@ -152,7 +152,7 @@ export default {
:loading-path="loadingPath"
:loading-path="loadingPath"
:total-entries="totalEntries"
:total-entries="totalEntries"
:row-number="generateRowNumber(entry.flatPath, entry.id, index)"
:row-number="generateRowNumber(entry.flatPath, entry.id, index)"
:commit-info="getCommit(entry.name, entry.type)"
:commit-info="getCommit(entry.flatPath, entry.type)"
v-on="$listeners"
v-on="$listeners"
/>
/>
</template>
</template>
Loading