From 24abba62abb015f796aad69ea3aba669665c502f Mon Sep 17 00:00:00 2001 From: Rohit Yadav Date: Mon, 4 Apr 2016 12:53:45 +0530 Subject: [PATCH] CLOUDSTACK-9335: fix typo in dashboard's fetchlatest usage This fixes a typographical error in UI that did not previously send fetchLatest flag in the listCapacity API request. Signed-off-by: Rohit Yadav --- ui/scripts/dashboard.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/scripts/dashboard.js b/ui/scripts/dashboard.js index f2b56820781..bd328634bb7 100644 --- a/ui/scripts/dashboard.js +++ b/ui/scripts/dashboard.js @@ -184,9 +184,9 @@ }, capacity: function(data) { if (window.fetchLatestflag == 1) { - data.fetchLastest = true; + data.fetchLatest = true; } else { - data.fetchLastest = false; + data.fetchLatest = false; } window.fetchLatestflag = 0; dataFns.alerts(data);