Fixed issue with new projects
If they haven't done a single poll the UI was filing to find a last version.
This commit is contained in:
parent
dd12b9dfbf
commit
6afd073f57
@ -171,6 +171,8 @@ 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) {
|
||||||
|
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";
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user