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:
parent
1bec6a8088
commit
b7c6a8aa18
3 changed files with 8 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue