summaryrefslogtreecommitdiffstats
path: root/apps/files/js/mainfileinfodetailview.js
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2021-10-08 08:27:33 -0100
committerMaxence Lange <maxence@artificial-owl.com>2021-10-08 08:28:05 -0100
commit9e78b01f3ad3384250c76d57939f4e7a7b106a86 (patch)
tree71bda0bb93f0095f61bd6e7ab73ba6e164642da1 /apps/files/js/mainfileinfodetailview.js
parent9187e986e10a0e189f825cd462eb9e68bd732981 (diff)
downloadnextcloud-server-9e78b01f3ad3384250c76d57939f4e7a7b106a86.tar.gz
nextcloud-server-9e78b01f3ad3384250c76d57939f4e7a7b106a86.zip
adding action.filename to FileActions
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'apps/files/js/mainfileinfodetailview.js')
-rw-r--r--apps/files/js/mainfileinfodetailview.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files/js/mainfileinfodetailview.js b/apps/files/js/mainfileinfodetailview.js
index 93ca40af2b4..0e0a297c793 100644
--- a/apps/files/js/mainfileinfodetailview.js
+++ b/apps/files/js/mainfileinfodetailview.js
@@ -154,7 +154,8 @@
var availableActions = this._fileActions.get(
this.model.get('mimetype'),
this.model.get('type'),
- this.model.get('permissions')
+ this.model.get('permissions'),
+ this.model.get('name')
);
var hasFavoriteAction = 'Favorite' in availableActions;
this.$el.html(this.template({