diff --git a/src/sunstone/public/app/tabs/oneflow-services-tab/panels/roles.js b/src/sunstone/public/app/tabs/oneflow-services-tab/panels/roles.js index be6114295e..3da0a5ec64 100644 --- a/src/sunstone/public/app/tabs/oneflow-services-tab/panels/roles.js +++ b/src/sunstone/public/app/tabs/oneflow-services-tab/panels/roles.js @@ -226,8 +226,8 @@ define(function(require) { if (data && data.ID === id) { var ready = ""; var check = ""; - if (ready_status_gate && data.VM.USER_TEMPLATE && data.VM.USER_TEMPLATE.READY){ - ready = (data.VM.USER_TEMPLATE.READY.trim().toUpperCase() === "YES") + if (ready_status_gate && data.USER_TEMPLATE && data.USER_TEMPLATE.READY){ + ready = (data.USER_TEMPLATE.READY.trim().toUpperCase() === "YES") ? check : "";