mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fixes for lint errors
added missing packages for lint removed unecessary babel/polyfill
This commit is contained in:
parent
03e659e629
commit
a48d466e6a
21 changed files with 26 additions and 31 deletions
|
@ -2,6 +2,8 @@ import { playbackManager } from '../playback/playbackmanager';
|
|||
import nowPlayingHelper from '../playback/nowplayinghelper';
|
||||
import { Events } from 'jellyfin-apiclient';
|
||||
import ServerConnections from '../ServerConnections';
|
||||
import shell from '../../scripts/shell';
|
||||
|
||||
/* eslint-disable indent */
|
||||
|
||||
// Reports media playback to the device for lock screen control
|
||||
|
|
|
@ -251,7 +251,7 @@ export function show(options) {
|
|||
return showWithUser(options, player, null);
|
||||
}
|
||||
|
||||
var apiClient = ServerConnections.getApiClient(currentItem.ServerId);
|
||||
const apiClient = ServerConnections.getApiClient(currentItem.ServerId);
|
||||
return apiClient.getCurrentUser().then(function (user) {
|
||||
return showWithUser(options, player, user);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue