Clear this.uploadedImages when opening the dialog

This commit is contained in:
johnqiao committed 2023-11-24 21:56:14 -07:00
1 parent bb2a2ece88
commit ab257ed750
1 file changed
+1
+1
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
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.