mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-26 17:24:57 +00:00
Make sure that at least the last update (i.e. the current state) is shown to free users (even if it happened more than 24 hours ago), to allow labelling.
This commit is contained in:
parent
96aa418b94
commit
5974afc2e3
1 changed files with 1 additions and 1 deletions
|
@ -410,7 +410,7 @@ define [
|
|||
previousUpdate = update
|
||||
|
||||
if !@$scope.history.userHasFullFeature and update.meta.end_ts < timestamp24hoursAgo
|
||||
cutOffIndex = i
|
||||
cutOffIndex = i or 1 # Make sure that we show at least one entry (to allow labelling).
|
||||
@$scope.history.freeHistoryLimitHit = true
|
||||
break
|
||||
|
||||
|
|
Loading…
Reference in a new issue