From 947c9716cddf2c595213f4c72ac379ec57a2ecd6 Mon Sep 17 00:00:00 2001 From: Jorge Miguel Lobo Escalona <47326048+jloboescalona2@users.noreply.github.com> Date: Wed, 10 Feb 2021 11:04:13 +0100 Subject: [PATCH] F #5034: Comment code (#787) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Tino Vázquez --- src/sunstone/public/app/tabs/oneflow-services-tab/datatable.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sunstone/public/app/tabs/oneflow-services-tab/datatable.js b/src/sunstone/public/app/tabs/oneflow-services-tab/datatable.js index 8262877fb1..4233dda83d 100644 --- a/src/sunstone/public/app/tabs/oneflow-services-tab/datatable.js +++ b/src/sunstone/public/app/tabs/oneflow-services-tab/datatable.js @@ -185,6 +185,8 @@ define(function(require) { function leasesClock(element){ var rtn = ""; + // The charter info is pulled from the schedule action of the first VM of the first role + // (element.TEMPLATE.BODY.roles[0].vm_template_contents.SCHED_ACTION) if(element && element.TEMPLATE && element.TEMPLATE.BODY && element.TEMPLATE.BODY.start_time && element.TEMPLATE.BODY.roles){ var startTime = element.TEMPLATE.BODY.start_time; var roles = Array.isArray(element.TEMPLATE.BODY.roles)? element.TEMPLATE.BODY.roles: [element.TEMPLATE.BODY.roles];