mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 03:18:19 -07:00
avoid duplicate reported version numbers on web client restart
This commit is contained in:
parent
fcc6306168
commit
1c1733b5e6
@ -419,7 +419,8 @@ var Dashboard = {
|
||||
|
||||
reloadPageWhenServerAvailable: function (retryCount) {
|
||||
|
||||
ApiClient.getSystemInfo().done(function (info) {
|
||||
// Don't use apiclient method because we don't want it reporting authentication under the old version
|
||||
$.getJSON(ApiClient.getUrl("System/Info")).done(function (info) {
|
||||
|
||||
// If this is back to false, the restart completed
|
||||
if (!info.HasPendingRestart) {
|
||||
|
Loading…
Reference in New Issue
Block a user