mirror of
https://github.com/sortedcord/omnia.git
synced 2026-07-22 03:52:48 +05:30
fix(gui): Prevent fully autonomous simulation to auto start on load
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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 [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user