DADAS
All checks were successful
Deploy / deploy-staging (push) Successful in 6s
Deploy / deploy-production (push) Has been skipped

This commit is contained in:
2026-04-11 02:51:14 +02:00
parent 8786c079a8
commit 394935a53b
2 changed files with 15 additions and 6 deletions

View File

@@ -998,6 +998,15 @@
}, 12000);
try {
const schema = await request(`${apiBase}/projects/${encodeURIComponent(key)}/schema-status`, { timeoutMs: 4000 });
const nextSchemaStatus = normalizeSchemaStatus(schema);
setSchemaStatus(nextSchemaStatus);
if (!nextSchemaStatus.all_present) {
setPayload(normalizeBootstrap(null, key));
setError('Mining-Checker Schema ist noch nicht initialisiert. Bitte im Tab Settings die Datenbank initialisieren.');
return;
}
const data = await request(`${apiBase}/projects/${encodeURIComponent(key)}/bootstrap`, { timeoutMs: 10000 });
const normalized = normalizeBootstrap(data, key);
setPayload(normalized);