clay-server 2.24.3 → 2.24.4-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/public/app.js +4 -3
- package/package.json +1 -1
package/lib/public/app.js
CHANGED
|
@@ -381,11 +381,12 @@ import { initDebate, handleDebatePreparing, handleDebateStarted, handleDebateRes
|
|
|
381
381
|
}
|
|
382
382
|
}
|
|
383
383
|
|
|
384
|
-
// --- Projects summary ---
|
|
384
|
+
// --- Projects summary (exclude mate projects) ---
|
|
385
385
|
var projectsList = $("hub-projects-list");
|
|
386
386
|
if (projectsList && projects) {
|
|
387
387
|
projectsList.innerHTML = "";
|
|
388
|
-
|
|
388
|
+
var hubProjects = projects.filter(function (p) { return !p.isMate; });
|
|
389
|
+
for (var p = 0; p < hubProjects.length; p++) {
|
|
389
390
|
(function (proj) {
|
|
390
391
|
var item = document.createElement("div");
|
|
391
392
|
item.className = "hub-project-item";
|
|
@@ -400,7 +401,7 @@ import { initDebate, handleDebatePreparing, handleDebateStarted, handleDebateRes
|
|
|
400
401
|
switchProject(proj.slug);
|
|
401
402
|
});
|
|
402
403
|
projectsList.appendChild(item);
|
|
403
|
-
})(
|
|
404
|
+
})(hubProjects[p]);
|
|
404
405
|
}
|
|
405
406
|
// Render emoji icons
|
|
406
407
|
|