Added developer to common fixtures
diff --git a/views/ngXosViews/developer/mocks/multi-site/slicesplus.json b/views/ngXosViews/developer/mocks/multi-site/slicesplus.json
index 88e0f0c..ba05da2 100644
--- a/views/ngXosViews/developer/mocks/multi-site/slicesplus.json
+++ b/views/ngXosViews/developer/mocks/multi-site/slicesplus.json
@@ -6,7 +6,7 @@
"max_instances":10,
"networks":[1, 2],
"current_user_roles":[
-
+ "Admin"
],
"instance_distribution":{
"mysite": 4,
@@ -29,7 +29,7 @@
"max_instances":10,
"networks":[2, 3, 4],
"current_user_roles":[
-
+ "Access"
],
"instance_distribution":{
"mysite": 3,
diff --git a/views/ngXosViews/developer/mocks/single-site/slicesplus.json b/views/ngXosViews/developer/mocks/single-site/slicesplus.json
index 0346421..9f7802c 100644
--- a/views/ngXosViews/developer/mocks/single-site/slicesplus.json
+++ b/views/ngXosViews/developer/mocks/single-site/slicesplus.json
@@ -6,13 +6,13 @@
"max_instances":10,
"networks":[1, 2],
"current_user_roles":[
-
+ "Admin"
],
"instance_distribution":{
- "mysite": 9
+ "mysite": 9
},
"instance_distribution_ready":{
-
+ "mysite": 4
},
"instance_total":9,
"instance_total_ready":4,
@@ -27,13 +27,13 @@
"max_instances":10,
"networks":[2, 3, 4],
"current_user_roles":[
-
+ "Access"
],
"instance_distribution":{
"mysite": 6
},
"instance_distribution_ready":{
-
+ "mysite": 5
},
"instance_total":6,
"instance_total_ready":5,
diff --git a/views/ngXosViews/developer/src/js/main.js b/views/ngXosViews/developer/src/js/main.js
index 5cb919b..b09f1ef 100644
--- a/views/ngXosViews/developer/src/js/main.js
+++ b/views/ngXosViews/developer/src/js/main.js
@@ -68,16 +68,16 @@
formatter: item => `${item.instance_total_ready} / ${item.instance_total}`
},
{
- label: 'Total Instances per Sites',
- type: 'object',
- prop: 'instance_distribution'
- },
- {
label: 'Active Instances per Sites',
type: 'object',
prop: 'instance_distribution_ready'
},
{
+ label: 'Total Instances per Sites',
+ type: 'object',
+ prop: 'instance_distribution'
+ },
+ {
label: 'Networks',
type: 'custom',
formatter: item => item.networks.length