diff --git a/assets/index.js b/assets/index.js index b87e354..e249c94 100644 --- a/assets/index.js +++ b/assets/index.js @@ -62,6 +62,7 @@ const ICONS = { edit: ``, delete: ``, view: ``, + copyLink: ``, } /** @@ -440,6 +441,7 @@ function addPath(file, index) { let url = newUrl(file.name); let actionDelete = ""; let actionDownload = ""; + let actionCopyLink = ""; let actionMove = ""; let actionEdit = ""; let actionView = ""; @@ -471,10 +473,14 @@ function addPath(file, index) { if (!actionEdit && !isDir) { actionView = `${ICONS.view}`; } + if (!isDir) { + actionCopyLink = `