[pbs-devel] [PATCH proxmox-backup 9/9] ui: MainView: fix redirectTo call

Dominik Csapak d.csapak at proxmox.com
Wed May 26 11:12:06 CEST 2021


takes now an object parameter in extjs 7.0

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/MainView.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/MainView.js b/www/MainView.js
index ef52f094..d8f89979 100644
--- a/www/MainView.js
+++ b/www/MainView.js
@@ -187,7 +187,7 @@ Ext.define('PBS.MainView', {
 
 	    // select treeitem and load page from url fragment, if set
 	    let token = Ext.util.History.getToken() || 'pbsDashboard';
-	    this.redirectTo(token, true);
+	    this.redirectTo(token, { force: true });
 	},
     },
 
-- 
2.20.1






More information about the pbs-devel mailing list