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

add itemIdentifier on clientutils and TaskButton globally

This commit is contained in:
grafixeyehero 2021-06-11 23:59:57 +03:00
parent 1bec6a8088
commit b7c6a8aa18
3 changed files with 8 additions and 2 deletions

View file

@ -5,7 +5,7 @@ import globalize from '../scripts/globalize';
import '../elements/emby-button/emby-button';
import ServerConnections from '../components/ServerConnections';
export default function (options) {
function taskbutton(options) {
function pollTasks() {
ServerConnections.getApiClient(serverId).getScheduledTasks({
IsEnabled: true
@ -120,3 +120,6 @@ export default function (options) {
Events.on(serverNotifications, 'ScheduledTasksInfo', onScheduledTasksUpdate);
}
}
window.TaskButton = taskbutton;
export default taskbutton;