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

Remove DashboardPage global

This commit is contained in:
Bill Thornton 2025-02-13 15:59:57 -05:00
parent 2ed007f508
commit 8cc88fb08c
2 changed files with 2 additions and 2 deletions

View file

@ -246,7 +246,6 @@ module.exports = {
'ApiClient': 'writable',
'Events': 'writable',
'chrome': 'writable',
'DashboardPage': 'writable',
'Emby': 'readonly',
'Hls': 'writable',
'LibraryMenu': 'writable',

View file

@ -394,7 +394,7 @@ function renderRunningTasks(view, tasks) {
view.querySelector('#divRunningTasks').innerHTML = html;
}
window.DashboardPage = {
const DashboardPage = {
startInterval: function (apiClient) {
apiClient.sendMessage('SessionsStart', '0,1500');
apiClient.sendMessage('ScheduledTasksInfoStart', '0,1000');
@ -741,6 +741,7 @@ window.DashboardPage = {
});
}
};
export default function (view) {
function onRestartRequired(evt, apiClient) {
console.debug('onRestartRequired not implemented', evt, apiClient);