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