mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
avoid duplicate reported version numbers on web client restart
This commit is contained in:
parent
fcc6306168
commit
1c1733b5e6
1 changed files with 2 additions and 1 deletions
|
@ -419,7 +419,8 @@ var Dashboard = {
|
||||||
|
|
||||||
reloadPageWhenServerAvailable: function (retryCount) {
|
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 this is back to false, the restart completed
|
||||||
if (!info.HasPendingRestart) {
|
if (!info.HasPendingRestart) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue