mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-15 18:08:17 -07:00
access ServerNotifications globally
This commit is contained in:
parent
451da10fd2
commit
005ed2876d
@ -96,6 +96,7 @@ module.exports = {
|
|||||||
'Loading': 'writable',
|
'Loading': 'writable',
|
||||||
'MetadataEditor': 'writable',
|
'MetadataEditor': 'writable',
|
||||||
'PlaylistViewer': 'writable',
|
'PlaylistViewer': 'writable',
|
||||||
|
'ServerNotifications': 'writable',
|
||||||
'UserParentalControlPage': 'writable',
|
'UserParentalControlPage': 'writable',
|
||||||
'Windows': 'readonly'
|
'Windows': 'readonly'
|
||||||
},
|
},
|
||||||
|
@ -211,4 +211,6 @@ Events.on(ServerConnections, 'apiclientcreated', function (e, newApiClient) {
|
|||||||
bindEvents(newApiClient);
|
bindEvents(newApiClient);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
window.ServerNotifications = serverNotifications;
|
||||||
|
|
||||||
export default serverNotifications;
|
export default serverNotifications;
|
||||||
|
Loading…
Reference in New Issue
Block a user