Merged master
diff --git a/views/ngXosViews/serviceGrid/src/js/main.js b/views/ngXosViews/serviceGrid/src/js/main.js
index 5c41bd4..c52ef9f 100644
--- a/views/ngXosViews/serviceGrid/src/js/main.js
+++ b/views/ngXosViews/serviceGrid/src/js/main.js
@@ -60,6 +60,10 @@
.then((services) => {
this.services = _.map(services, s => {
// parse backend_status string in a boolean for display
+ // NOTE they are not boolean:
+ // - start with 0 = provisioning
+ // - start with 1 = good
+ // - start with 2 = error
s.status = parseInt(s.backend_status.match(/^[0-9]/)[0]) === 0 ? false : true;
return s;
})