mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-22 08:38:08 +02:00
chore(ingest): finish public query history cleanup
This commit is contained in:
parent
16543a68f2
commit
f34b225a6f
3 changed files with 15 additions and 8 deletions
|
|
@ -852,7 +852,13 @@ async function maybeApplyHistoricSqlConfig(input: {
|
|||
],
|
||||
});
|
||||
if (choice === 'back') return 'back';
|
||||
enabled = choice === 'yes';
|
||||
if (choice === 'yes') {
|
||||
enabled = true;
|
||||
} else if (choice === 'no') {
|
||||
enabled = false;
|
||||
} else {
|
||||
return input.connection;
|
||||
}
|
||||
}
|
||||
|
||||
const existingRecord = queryHistoryConfigRecord(input.connection) ?? historicSqlConfigRecord(input.connection) ?? {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue