fix(ui): resolve race condition in UploadModal opening

Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
google-labs-jules[bot]andPR0M3TH3AN committed 2026-02-22 22:31:35 +00:00
1 parent 784ffe8260
commit c1d7cc768e
6 files changed
+2 -47

No files matched your search

+2 -1
View File
@@ -1262,7 +1262,8 @@ export class UploadModal {
// --- Modal Control ---
open({ triggerElement } = {}) {
async open({ triggerElement } = {}) {
await this.load();
if (!this.root) return;
this.root.classList.remove("hidden");
this.setGlobalModalState("upload", true);