Another small change in the same code

This commit is contained in:
Tim Shannon 2016-04-25 16:56:48 +00:00
parent 92a8045e13
commit 219efef570

View File

@ -171,7 +171,7 @@ Ractive.DEBUG = false;
//statuses //statuses
if (project.stage != "waiting") { if (project.stage != "waiting") {
project.status = project.stage; project.status = project.stage;
} else if(!project.lastLog) { } else if(!project.lastLog || !project.lastLog.version) {
project.status = "waiting"; project.status = "waiting";
} else if (project.lastLog.version.trim() == project.releaseVersion.trim()) { } else if (project.lastLog.version.trim() == project.releaseVersion.trim()) {
project.status = "Successfully Released"; project.status = "Successfully Released";