access ServerNotifications globally

This commit is contained in:
grafixeyehero 2021-06-11 20:16:11 +03:00
parent 451da10fd2
commit 005ed2876d
2 changed files with 3 additions and 0 deletions

View File

@ -96,6 +96,7 @@ module.exports = {
'Loading': 'writable',
'MetadataEditor': 'writable',
'PlaylistViewer': 'writable',
'ServerNotifications': 'writable',
'UserParentalControlPage': 'writable',
'Windows': 'readonly'
},

View File

@ -211,4 +211,6 @@ Events.on(ServerConnections, 'apiclientcreated', function (e, newApiClient) {
bindEvents(newApiClient);
});
window.ServerNotifications = serverNotifications;
export default serverNotifications;