summaryrefslogtreecommitdiffstats
path: root/apps/files/js/fileactions.js
diff options
context:
space:
mode:
authorChristopher Ng <chrng8@gmail.com>2022-09-21 18:59:40 +0000
committerChristopher Ng <chrng8@gmail.com>2022-09-21 18:59:40 +0000
commit09b777672019684872279633daafdf6734c44901 (patch)
tree4bc54fc1a8c604daceabbf2d89cca84f5a1387c9 /apps/files/js/fileactions.js
parent18431c2fe920c1f72f68f3c33a7c2a40ccb70c0a (diff)
downloadnextcloud-server-09b777672019684872279633daafdf6734c44901.tar.gz
nextcloud-server-09b777672019684872279633daafdf6734c44901.zip
Use computer icon for edit locally file action
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'apps/files/js/fileactions.js')
-rw-r--r--apps/files/js/fileactions.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/js/fileactions.js b/apps/files/js/fileactions.js
index 4525da876e3..283118cd327 100644
--- a/apps/files/js/fileactions.js
+++ b/apps/files/js/fileactions.js
@@ -720,10 +720,10 @@
},
mime: 'all',
order: -23,
- iconClass: function(filename, context) {
+ icon: function(filename, context) {
var locked = context.$file.data('locked');
if (!locked) {
- return 'icon-rename';
+ return OC.imagePath('files', 'computer.svg')
}
},
permissions: OC.PERMISSION_UPDATE,