refs #5900 Removed code to split user changes based on date
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
c15d9a4753
commit
efe0966069
|
@ -114,14 +114,9 @@ export default class Controller extends Section {
|
|||
|
||||
// User
|
||||
|
||||
const day = 86400 * 1000;
|
||||
const time = new Date(log.creationDate).getTime();
|
||||
const prevTime = prevLog && new Date(prevLog.creationDate).getTime();
|
||||
const userChanged = originChanged
|
||||
|| log.userFk != prevLog.userFk
|
||||
|| time < prevTime - day * 2
|
||||
|| nLogs >= 6;
|
||||
|
||||
if (userChanged) {
|
||||
originLog.logs.push(userLog = {
|
||||
user: log.user,
|
||||
|
|
Loading…
Reference in New Issue