correctyl updating the UI wornings. see #102

This commit is contained in:
mic 2026-01-02 12:17:10 +01:00
parent c18a517b82
commit ae83e3284e

View file

@ -29,7 +29,8 @@ import {
} from "../../js/mzta-prompts.js"; } from "../../js/mzta-prompts.js";
import { import {
injectConnectionUI, injectConnectionUI,
showConnectionOptions showConnectionOptions,
updateWarnings
} from "../../pages/_lib/connection-ui.js"; } from "../../pages/_lib/connection-ui.js";
import { import {
ChatGPTWeb_models, ChatGPTWeb_models,
@ -491,9 +492,11 @@ function handleEditClick(e) {
taLog: taLog taLog: taLog
}).then(() => { }).then(() => {
populateConnectionUI(tr, id, prefix, selectId); populateConnectionUI(tr, id, prefix, selectId);
updateWarnings(prefix);
}); });
} else { } else {
populateConnectionUI(tr, id, prefix, selectId); populateConnectionUI(tr, id, prefix, selectId);
updateWarnings(prefix);
} }
// Show/Hide buttons // Show/Hide buttons