mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-10-02 08:47:59 +02:00
Fixed: Switching tabs in Activity and Wanted no longer add to navigation history, just like Settings, preventing a redirect loop when using the browser back navigation.
This commit is contained in:
@@ -49,7 +49,7 @@ define(
|
||||
},
|
||||
|
||||
_navigate: function (route) {
|
||||
Backbone.history.navigate(route);
|
||||
Backbone.history.navigate(route, { trigger: false, replace: true });
|
||||
},
|
||||
|
||||
_showHistory: function (e) {
|
||||
|
@@ -254,7 +254,7 @@ define(
|
||||
this._navigate('settings/ui');
|
||||
},
|
||||
|
||||
_navigate:function(route){
|
||||
_navigate: function (route) {
|
||||
Backbone.history.navigate(route, { trigger: false, replace: true });
|
||||
},
|
||||
|
||||
|
@@ -73,7 +73,7 @@ define(
|
||||
}
|
||||
},
|
||||
|
||||
_navigate:function(route){
|
||||
_navigate: function (route){
|
||||
Backbone.history.navigate(route, { trigger: true, replace: true });
|
||||
},
|
||||
|
||||
|
@@ -43,7 +43,7 @@ define(
|
||||
},
|
||||
|
||||
_navigate: function (route) {
|
||||
Backbone.history.navigate(route);
|
||||
Backbone.history.navigate(route, { trigger: false, replace: true });
|
||||
},
|
||||
|
||||
_showMissing: function (e) {
|
||||
|
Reference in New Issue
Block a user