This commit is contained in:
parent
fd69d69ff0
commit
631c0e3121
|
@ -117,7 +117,7 @@ export default class Controller extends Section {
|
|||
const day = 86400 * 1000;
|
||||
const time = new Date(log.creationDate).getTime();
|
||||
const prevTime = prevLog && new Date(prevLog.creationDate).getTime();
|
||||
const userChanged = !prevLog
|
||||
const userChanged = originChanged
|
||||
|| log.userFk != prevLog.userFk
|
||||
|| time < prevTime - day * 2
|
||||
|| nLogs >= 6;
|
||||
|
|
Loading…
Reference in New Issue