Skip to content

Commit a8c79ce

Browse files
committed
Decrypt file info when restoring an e2e encrypted file
1 parent 75745ae commit a8c79ce

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -959,6 +959,9 @@ function handleUndo(button) {
959959
apiFilesRestore(button.dataset.fileid)
960960
.then(data => {
961961
addRow(data.FileInfo);
962+
if (isE2EEnabled) {
963+
GokapiE2EDecryptMenu();
964+
}
962965
})
963966
.catch(error => {
964967
alert("Unable to restore file: " + error);

0 commit comments

Comments
 (0)