From 92a8045e13944bec3b5df6e43ac3d4b1268d4357 Mon Sep 17 00:00:00 2001 From: Tim Shannon Date: Mon, 25 Apr 2016 16:51:01 +0000 Subject: [PATCH] Fixed issue with new projects If they haven't done a single poll the UI was filing to find a last version. --- web/js/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/js/index.js b/web/js/index.js index 57c82c5..e7d04a7 100644 --- a/web/js/index.js +++ b/web/js/index.js @@ -171,6 +171,8 @@ Ractive.DEBUG = false; //statuses if (project.stage != "waiting") { project.status = project.stage; + } else if(!project.lastLog) { + project.status = "waiting"; } else if (project.lastLog.version.trim() == project.releaseVersion.trim()) { project.status = "Successfully Released"; } else {