mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
New: Add Unknown Quality to profile (advanced)
This commit is contained in:
@@ -53,18 +53,23 @@ define(
|
||||
onShow: function () {
|
||||
this.fieldsView = new EditProfileView({ model: this.model });
|
||||
this._showFieldsView();
|
||||
var advancedShown = Config.getValueBoolean(Config.Keys.AdvancedSettings, false);
|
||||
|
||||
this.sortableListView = new QualitySortableCollectionView({
|
||||
selectable : true,
|
||||
selectMultiple : true,
|
||||
clickToSelect : true,
|
||||
clickToToggle : true,
|
||||
sortable : Config.getValueBoolean(Config.Keys.AdvancedSettings, false),
|
||||
sortable : advancedShown,
|
||||
|
||||
sortableOptions : {
|
||||
handle: '.x-drag-handle'
|
||||
},
|
||||
|
||||
visibleModelsFilter : function (model) {
|
||||
return model.get('quality').id !== 0 || advancedShown;
|
||||
},
|
||||
|
||||
collection: this.itemsCollection,
|
||||
model : this.model
|
||||
});
|
||||
|
Reference in New Issue
Block a user