Another small change in the same code

This commit is contained in:
Tim Shannon 2016-04-25 16:56:48 +00:00
parent 2066c68257
commit 7a0b821be4

View File

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