Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2021-10-08 12:27:33 +0300
committerMaxence Lange <maxence@artificial-owl.com>2021-10-08 12:28:05 +0300
commit9e78b01f3ad3384250c76d57939f4e7a7b106a86 (patch)
tree71bda0bb93f0095f61bd6e7ab73ba6e164642da1 /apps/files/js/mainfileinfodetailview.js
parent9187e986e10a0e189f825cd462eb9e68bd732981 (diff)
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({