server/apps/files/tests
Daniel Calviño Sánchez 3113ee1129 Hide favourite icon in details view if favourite action is not available
When the favourite icon in the details view is clicked the "Favorite"
action is triggered. However, if the action name given to
"triggerAction" is not found then the "Download" action is triggered
instead. As the "Favorite" action is not available in some file lists
(like "Recents") the "Download" action was executed instead in those
cases, which was a strange behaviour. Now the favourite icon is
hidden if its action is not available.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-01-05 19:06:06 +01:00
..
Activity Update license headers 2017-11-06 16:56:19 +01:00
BackgroundJob Update license headers 2017-11-06 16:56:19 +01:00
Command Use ::class in test mocks of encryption app 2017-10-26 13:56:56 +02:00
Controller Update license headers 2017-11-06 16:56:19 +01:00
js Hide favourite icon in details view if favourite action is not available 2018-01-05 19:06:06 +01:00
Service Add tests for favorite action 2016-12-04 12:54:34 +01:00
Settings Update license headers 2017-11-06 16:56:19 +01:00
HelperTest.php Update license headers 2017-11-06 16:56:19 +01:00