mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-09 04:22:30 +01:00
Fixed: Show search for existing series that finds no results
This commit is contained in:
parent
8b3fd95d55
commit
d017c40747
@ -109,13 +109,6 @@
|
||||
</inspection_tool>
|
||||
<inspection_tool class="SwitchStatementWithNoDefaultBranchJS" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="TailRecursionJS" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="TaskInspection" enabled="true" level="INFO" enabled_by_default="true">
|
||||
<option name="suppressedTasks">
|
||||
<set>
|
||||
<option value="LESS" />
|
||||
</set>
|
||||
</option>
|
||||
</inspection_tool>
|
||||
<inspection_tool class="ThisExpressionReferencesGlobalObjectJS" enabled="true" level="ERROR" enabled_by_default="true" />
|
||||
<inspection_tool class="ThreeNegationsPerFunctionJS" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="UnterminatedStatementJS" enabled="true" level="ERROR" enabled_by_default="true">
|
||||
|
@ -134,6 +134,7 @@ define(
|
||||
if (!this.isClosed) {
|
||||
|
||||
if (this.collection.length === 0) {
|
||||
this.ui.searchBar.show();
|
||||
this.searchResult.show(new NotFoundView({term: this.collection.term}));
|
||||
}
|
||||
else {
|
||||
|
@ -6,7 +6,7 @@ define(
|
||||
], function (Marionette) {
|
||||
|
||||
return Marionette.CompositeView.extend({
|
||||
template: 'AddSeries/NotFoundTemplate',
|
||||
template: 'AddSeries/NotFoundViewTemplate',
|
||||
|
||||
initialize: function (options) {
|
||||
this.options = options;
|
||||
|
@ -4,7 +4,7 @@ define(
|
||||
'marionette'
|
||||
], function (Marionette) {
|
||||
return Marionette.ItemView.extend({
|
||||
template: 'Shared/notfoundtemplate'
|
||||
template: 'Shared/NotFoundViewTemplate'
|
||||
});
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user