Kavita+ Reviews are Mixed (#2238)
* Remove updating last active on PresenceTracker as we now do it on Token. Should reduce annoying db concurrency errors. * Updated Kavita+ Reviews to give a spread of reviews, positive or not. * Fixed up some styling overlap for different breakpoints for sections like Writers, Authors, Collections, etc. * Refactored code * Fixed jumpbar being broken with no custom sort * Fixed paper background on epub reader not loading under base url
This commit is contained in:
parent
24f5bf1167
commit
d64681b832
8 changed files with 63 additions and 34 deletions
|
@ -57,18 +57,6 @@ public class PresenceTracker : IPresenceTracker
|
|||
});
|
||||
}
|
||||
}
|
||||
|
||||
// Update the last active for the user
|
||||
try
|
||||
{
|
||||
user.UpdateLastActive();
|
||||
_unitOfWork.UserRepository.Update(user);
|
||||
await _unitOfWork.CommitAsync();
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
// Swallow the exception
|
||||
}
|
||||
}
|
||||
|
||||
public Task UserDisconnected(int userId, string connectionId)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue