fix: typo

This commit is contained in:
BennyKok committed 2023-12-17 01:41:58 +08:00
1 parent f7f9da7f68
commit c511789056
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -304,8 +304,8 @@ export class ConfigDialog extends ComfyDialog {
}
save() {
const endpoint = this.textElement.querySelector("#endpoint").value;
const apiKey = this.textElement.querySelector("#apiKey").value;
const endpoint = this.container.querySelector("#endpoint").value;
const apiKey = this.container.querySelector("#apiKey").value;
localStorage.setItem("endpoint", endpoint);
localStorage.setItem("apiKey", apiKey);
this.close();