EmbyCrackedClient/web/modules/tabbedview/collectionstab.js

1 line
738 B
JavaScript
Raw Normal View History

2025-06-25 11:46:04 +08:00
import ItemsTab from"./itemstab.js";function CollectionsTab(view,params,options){ItemsTab.apply(this,arguments)}Object.assign(CollectionsTab.prototype,ItemsTab.prototype),CollectionsTab.prototype.supportsAlphaPicker=function(){return!0},CollectionsTab.prototype.getSettingsKey=function(){return ItemsTab.prototype.getSettingsKey.call(this)+"-collections"},CollectionsTab.prototype.getBaseQuery=function(){var query=ItemsTab.prototype.getBaseQuery.apply(this,arguments);return this.options&&this.options.parentId&&(query.ParentId=this.options.parentId),query},CollectionsTab.prototype.getItemTypes=function(){return["BoxSet"]},CollectionsTab.prototype.loadTemplate=function(){return this.loadItemsTemplate()};export default CollectionsTab;