mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
WIP
This commit is contained in:
parent
96eccd2ecd
commit
7d9208e951
143 changed files with 1000 additions and 1008 deletions
|
@ -2,8 +2,8 @@ import dom from '../../scripts/dom';
|
|||
import dialogHelper from '../dialogHelper/dialogHelper';
|
||||
import loading from '../loading/loading';
|
||||
import layoutManager from '../layoutManager';
|
||||
import connectionManager from 'jellyfin-apiclient';
|
||||
import appRouter from '../appRouter';
|
||||
import { ConnectionManager } from 'jellyfin-apiclient';
|
||||
import { appRouter } from '../appRouter';
|
||||
import globalize from '../../scripts/globalize';
|
||||
import '../../elements/emby-button/emby-button';
|
||||
import '../../elements/emby-button/paper-icon-button-light';
|
||||
|
@ -25,7 +25,7 @@ import '../../assets/css/flexstyles.css';
|
|||
|
||||
const collectionId = panel.querySelector('#selectCollectionToAddTo').value;
|
||||
|
||||
const apiClient = window.connectionManager.getApiClient(currentServerId);
|
||||
const apiClient = ConnectionManager.getApiClient(currentServerId);
|
||||
|
||||
if (collectionId) {
|
||||
addToCollection(apiClient, panel, collectionId);
|
||||
|
@ -106,7 +106,7 @@ import '../../assets/css/flexstyles.css';
|
|||
EnableTotalRecordCount: false
|
||||
};
|
||||
|
||||
const apiClient = window.connectionManager.getApiClient(currentServerId);
|
||||
const apiClient = ConnectionManager.getApiClient(currentServerId);
|
||||
apiClient.getItems(apiClient.getCurrentUserId(), options).then(result => {
|
||||
let html = '';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue