fix(gui): Prevent fully autonomous simulation to auto start on load

This commit is contained in:
2026-07-12 15:36:24 +05:30
parent 35ab4b4d40
commit 9e1eb41c55
3 changed files with 28 additions and 11 deletions

View File

@@ -239,7 +239,7 @@ ${candidatesList}
}
const result = response.data;
const db = (this.bufferRepo as any).db;
const db = (this.bufferRepo as unknown as { db: Record<string, unknown> }).db;
const ledgerEntries: LedgerEntry[] = [];
for (const chunk of result.chunks) {

View File

@@ -182,7 +182,7 @@ export class LedgerRepository {
`;
params.push(limit);
const rows = this.db.prepare(query).all(...params) as Record<string, any>[];
const rows = this.db.prepare(query).all(...params) as Record<string, unknown>[];
if (rows.length === 0) return [];