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

fixed the suggested changes

This commit is contained in:
Sarab Singh 2020-05-10 14:46:28 +05:30
parent ee2f86124b
commit 83f1c7498d
3 changed files with 68 additions and 67 deletions

View file

@ -15,10 +15,10 @@ function alertText(options) {
export function deleteItem(options) {
var item = options.item;
var parentId = item.SeasonId || item.SeriesId || item.ParentId;
const item = options.item;
const parentId = item.SeasonId || item.SeriesId || item.ParentId;
var apiClient = connectionManager.getApiClient(item.ServerId);
let apiClient = connectionManager.getApiClient(item.ServerId);
return confirm({
@ -40,7 +40,7 @@ export function deleteItem(options) {
}
}, function (err) {
var result = function () {
let result = function () {
return Promise.reject(err);
};