Clear this.uploadedImages when opening the dialog

This commit is contained in:
johnqiao 2023-11-24 21:56:14 -07:00
parent bb2a2ece88
commit ab257ed750

View File

@ -548,6 +548,7 @@ export class OpenArtShareDialog extends ComfyDialog {
this.previewImage.style.display = "none";
const key = await this.readKey();
this.keyInput.value = key;
this.uploadedImages = [];
// If `selectedNodeId` is provided, we will select the corresponding radio
// button for the node. In addition, we move the selected radio button to