Skip to content

Commit 1e9f1e3

Browse files
fix install > empty projects
1 parent b62a06f commit 1e9f1e3

File tree

1 file changed

+5
-0
lines changed
  • projectmanager/modules/ProjectsModel

1 file changed

+5
-0
lines changed

projectmanager/modules/ProjectsModel/module.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,11 @@
7070
}).done(function(data){
7171

7272
var countdown = Object.keys(data.projects).length;
73+
74+
if (countdown == 0) {
75+
// no projects yet
76+
success.call();
77+
}
7378

7479
for (var id in data.projects) {
7580
(function (id) {

0 commit comments

Comments
 (0)