1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update select server

This commit is contained in:
Luke Pulverenti 2015-08-29 20:40:52 -04:00
parent 3165df56e2
commit f0f5c26a2c
9 changed files with 119 additions and 154 deletions

View file

@ -96,6 +96,9 @@
if (server.LastConnectionMode != null) {
existing.LastConnectionMode = server.LastConnectionMode;
}
if (server.ConnectServerId) {
existing.ConnectServerId = server.ConnectServerId;
}
existing.DateLastLocalConnection = Math.max(existing.DateLastLocalConnection || 0, server.DateLastLocalConnection || 0);
return existing;