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:
parent
2ed007f508
commit
8cc88fb08c
2 changed files with 2 additions and 2 deletions
|
@ -246,7 +246,6 @@ module.exports = {
|
||||||
'ApiClient': 'writable',
|
'ApiClient': 'writable',
|
||||||
'Events': 'writable',
|
'Events': 'writable',
|
||||||
'chrome': 'writable',
|
'chrome': 'writable',
|
||||||
'DashboardPage': 'writable',
|
|
||||||
'Emby': 'readonly',
|
'Emby': 'readonly',
|
||||||
'Hls': 'writable',
|
'Hls': 'writable',
|
||||||
'LibraryMenu': 'writable',
|
'LibraryMenu': 'writable',
|
||||||
|
|
|
@ -394,7 +394,7 @@ function renderRunningTasks(view, tasks) {
|
||||||
view.querySelector('#divRunningTasks').innerHTML = html;
|
view.querySelector('#divRunningTasks').innerHTML = html;
|
||||||
}
|
}
|
||||||
|
|
||||||
window.DashboardPage = {
|
const DashboardPage = {
|
||||||
startInterval: function (apiClient) {
|
startInterval: function (apiClient) {
|
||||||
apiClient.sendMessage('SessionsStart', '0,1500');
|
apiClient.sendMessage('SessionsStart', '0,1500');
|
||||||
apiClient.sendMessage('ScheduledTasksInfoStart', '0,1000');
|
apiClient.sendMessage('ScheduledTasksInfoStart', '0,1000');
|
||||||
|
@ -741,6 +741,7 @@ window.DashboardPage = {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
export default function (view) {
|
export default function (view) {
|
||||||
function onRestartRequired(evt, apiClient) {
|
function onRestartRequired(evt, apiClient) {
|
||||||
console.debug('onRestartRequired not implemented', evt, apiClient);
|
console.debug('onRestartRequired not implemented', evt, apiClient);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue