1
0

auto-git:

[change] settings.html
This commit is contained in:
2025-05-24 20:49:18 +02:00
parent f3e3b40a3e
commit 84b6c0bfdf

View File

@@ -123,13 +123,13 @@
if (threshold < 1) threshold = 1; if (threshold < 1) threshold = 1;
if (threshold > 1000) threshold = 1000; if (threshold > 1000) threshold = 1000;
await window.settingsAPI.setIntelligentCommitThreshold(threshold); await window.settingsAPI.setIntelligentCommitThreshold(threshold);
alert('OK gedrückt');
// Dropdowns speichern // Dropdowns speichern
const commitSel = document.getElementById('commitModelSelect'); const commitSel = document.getElementById('commitModelSelect');
const readmeSel = document.getElementById('readmeModelSelect'); const readmeSel = document.getElementById('readmeModelSelect');
if (commitSel) await window.settingsAPI.setCommitModel(commitSel.value); if (commitSel) await window.settingsAPI.setCommitModel(commitSel.value);
if (readmeSel) await window.settingsAPI.setReadmeModel(readmeSel.value); if (readmeSel) await window.settingsAPI.setReadmeModel(readmeSel.value);
alert('OK gedrückt');
window.settingsAPI.close(); window.settingsAPI.close();
}); });