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

Removed unused method

This commit is contained in:
MrK 2023-10-05 22:49:35 +01:00
parent d62a36a708
commit ad5bcb6c8d

View file

@ -637,17 +637,6 @@ export class UserSettings {
sortOrder: this.getFilter(key + '-sortorder') === 'Descending' ? 'Descending' : 'Ascending'
};
}
/**
* Gets the current sort values (JSON)
* (new views such as MoviesView will use
* this one)
* @param {string} key - Filter key.
* @return {Object} sortOptions object
*/
getSortValues(key) {
return this.loadQuerySettings(key, {});
}
}
export const currentSettings = new UserSettings;
@ -699,4 +688,3 @@ export const disableCustomCss = currentSettings.disableCustomCss.bind(currentSet
export const getSavedView = currentSettings.getSavedView.bind(currentSettings);
export const saveViewSetting = currentSettings.saveViewSetting.bind(currentSettings);
export const getSortValuesLegacy = currentSettings.getSortValuesLegacy.bind(currentSettings);
export const getSortValues = currentSettings.getSortValues.bind(currentSettings);