Remove DashboardPage global
This commit is contained in:
@@ -246,7 +246,6 @@ module.exports = {
|
||||
'ApiClient': 'writable',
|
||||
'Events': 'writable',
|
||||
'chrome': 'writable',
|
||||
'DashboardPage': 'writable',
|
||||
'Emby': 'readonly',
|
||||
'Hls': 'writable',
|
||||
'LibraryMenu': 'writable',
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user