Skip to content

Commit 90c686d

Browse files
committed
Fixed WASM crash after uploading e2e file #283
1 parent 518aea1 commit 90c686d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

internal/webserver/web/static/js/admin_ui_upload.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -816,6 +816,7 @@ function createButtonGroup(item) {
816816
const emailA = document.createElement("a");
817817
emailA.className = "dropdown-item";
818818
emailA.title = "Share via email";
819+
emailA.id = `email-${item.Id}`;
819820
emailA.target = "_blank";
820821
emailA.href = `mailto:?body=${encodeURIComponent(item.UrlDownload)}`;
821822
emailA.innerHTML = `<i class="bi bi-envelope"></i> Email`;

0 commit comments

Comments
 (0)