correctyl updating the UI wornings. see #102
This commit is contained in:
parent
c18a517b82
commit
ae83e3284e
1 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue