mirror of https://github.com/Radarr/Radarr
Removed extraneous filtering code from series index
This commit is contained in:
parent
dff6726114
commit
bcc854b78c
|
@ -257,7 +257,6 @@ define(
|
|||
|
||||
onShow: function () {
|
||||
this._showToolbar();
|
||||
this._renderView();
|
||||
this._fetchCollection();
|
||||
},
|
||||
|
||||
|
@ -295,8 +294,6 @@ define(
|
|||
this.toolbar2.close();
|
||||
}
|
||||
else {
|
||||
this._resetFilter();
|
||||
|
||||
this.seriesRegion.show(this.currentView);
|
||||
|
||||
this._showToolbar();
|
||||
|
@ -314,18 +311,6 @@ define(
|
|||
this.seriesCollection.setFilterMode(mode);
|
||||
},
|
||||
|
||||
_resetFilter: function () {
|
||||
var key = this.seriesCollection.state.filterKey;
|
||||
var value = this.seriesCollection.state.filterValue;
|
||||
|
||||
this.seriesCollection.setFilter([ null, null ]);
|
||||
this.seriesCollection.setFilter([ key, value ]);
|
||||
},
|
||||
|
||||
_shadowTest: function () {
|
||||
window.alert('added to shadow');
|
||||
},
|
||||
|
||||
_showToolbar: function () {
|
||||
|
||||
if (this.toolbar.currentView) {
|
||||
|
|
Loading…
Reference in New Issue