[pmg-devel] [PATCH pmg-gui 4/4] MainView: fix redirectTo call
Dominik Csapak
d.csapak at proxmox.com
Wed May 26 11:13:12 CEST 2021
takes now an object as paramter in extjs 7.0
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
js/MainView.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/js/MainView.js b/js/MainView.js
index 0382d1f..cb86ec5 100644
--- a/js/MainView.js
+++ b/js/MainView.js
@@ -153,7 +153,7 @@ Ext.define('PMG.MainView', {
// select treeitem and load page from url fragment
let token = Ext.util.History.getToken() || 'pmgDashboard';
- this.redirectTo(token, true);
+ this.redirectTo(token, { force: true });
},
},
--
2.20.1
More information about the pmg-devel
mailing list