Compare commits
11
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7c9be4b44b | ||
|
|
1bf1f72901 | ||
|
|
19099e5267 | ||
|
|
5ddf1aa8de | ||
|
|
4f7b479cec | ||
|
|
281cc6a1d1 | ||
|
|
e726267e5e | ||
|
|
8f4a464e5f | ||
|
|
4a0b2f60df | ||
|
|
f9a8769810 | ||
|
|
a074a80f4d |
+1
-4
@@ -145,11 +145,8 @@ function clearLive() {
|
|||||||
if (box) box.innerHTML = '';
|
if (box) box.innerHTML = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
// 载入各仓库最近日志作为初始上下文,避免面板一开始空白(仅启动播种一次)
|
// 载入各仓库最近日志作为初始上下文,避免面板一开始空白
|
||||||
let liveSeeded = false;
|
|
||||||
async function seedLive() {
|
async function seedLive() {
|
||||||
if (liveSeeded) return;
|
|
||||||
liveSeeded = true;
|
|
||||||
const names = repos.map(r => r.name);
|
const names = repos.map(r => r.name);
|
||||||
await Promise.all(names.map(async (name) => {
|
await Promise.all(names.map(async (name) => {
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user