[pve-devel] [PATCH manager] add replication to stateprovider dictionary

Dominik Csapak d.csapak at proxmox.com
Mon Jun 19 14:34:34 CEST 2017


to show the number in the url fragment instead of 'replication'
also change the itemid in the datacenter to 'replication' from 'replica'

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/manager6/StateProvider.js | 1 +
 www/manager6/dc/Config.js     | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/www/manager6/StateProvider.js b/www/manager6/StateProvider.js
index 9924cd4a..db00e8b2 100644
--- a/www/manager6/StateProvider.js
+++ b/www/manager6/StateProvider.js
@@ -49,6 +49,7 @@ Ext.define('PVE.StateProvider', {
     hprefix: 'v1',
 
     compDict: {
+	replication: 51,
 	system: 50,
 	monitor: 49,
 	'ha-fencing': 48,
diff --git a/www/manager6/dc/Config.js b/www/manager6/dc/Config.js
index 17c81b09..17d7a96a 100644
--- a/www/manager6/dc/Config.js
+++ b/www/manager6/dc/Config.js
@@ -56,7 +56,7 @@ Ext.define('PVE.dc.Config', {
 		xtype: 'pveReplicaView',
 		iconCls: 'fa fa-retweet',
 		title: gettext('Replication'),
-		itemId: 'replica'
+		itemId: 'replication'
 	    },
 	    {
 		xtype: 'pveACLView',
-- 
2.11.0





More information about the pve-devel mailing list