mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
reduce system info refreshing from dashboard
This commit is contained in:
parent
c3af03c269
commit
e3d0113106
1 changed files with 4 additions and 4 deletions
|
@ -1188,7 +1188,6 @@ $(document).on('pagebeforeshow', ".page", function () {
|
|||
|
||||
Dashboard.ensureHeader(page);
|
||||
Dashboard.ensurePageTitle(page);
|
||||
Dashboard.refreshSystemInfoFromServer();
|
||||
}
|
||||
|
||||
else {
|
||||
|
@ -1204,9 +1203,10 @@ $(document).on('pagebeforeshow', ".page", function () {
|
|||
Dashboard.ensureHeader(page, user);
|
||||
Dashboard.ensurePageTitle(page);
|
||||
});
|
||||
|
||||
Dashboard.refreshSystemInfoFromServer();
|
||||
}
|
||||
|
||||
if (!ApiClient.isWebSocketOpen()) {
|
||||
Dashboard.refreshSystemInfoFromServer();
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue