Skip to content

Commit

Permalink
added download icon
Browse files Browse the repository at this point in the history
  • Loading branch information
CaCO3 committed May 4, 2024
1 parent 459aaf5 commit 8e8416e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions html/management.html
Original file line number Diff line number Diff line change
Expand Up @@ -1704,6 +1704,7 @@ <h5 class="modal-title" data-i18n="tools.nvserase.title"></h5>
if(!node.data.directory) {
items.download = {
label: () => i18next.t("files.context.download"),
icon: "fas fa-download",
action: function(x) {
uri = "http://" + host + "/explorerdownload?path=" + encodeURIComponent(node.data.path);
console.log("download file: " + node.data.path);
Expand Down

0 comments on commit 8e8416e

Please sign in to comment.