From 9e78b01f3ad3384250c76d57939f4e7a7b106a86 Mon Sep 17 00:00:00 2001 From: Maxence Lange Date: Fri, 8 Oct 2021 08:27:33 -0100 Subject: adding action.filename to FileActions Signed-off-by: Maxence Lange --- apps/files/js/mainfileinfodetailview.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/files/js/mainfileinfodetailview.js') 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({ -- cgit v1.2.3