Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable12] Hide favourite icon in details view if favourite action is not available #7742

Conversation

danxuliu
Copy link
Member

@danxuliu danxuliu commented Jan 8, 2018

Backport of #7716

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>
@danxuliu danxuliu added 3. to review Waiting for reviews bug feature: files papercut Annoying recurring issue with possibly simple fix. labels Jan 8, 2018
@danxuliu danxuliu added this to the Nextcloud 12.0.5 milestone Jan 8, 2018
@MorrisJobke MorrisJobke mentioned this pull request Jan 8, 2018
13 tasks
Copy link
Member

@MorrisJobke MorrisJobke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and works 👍

@MorrisJobke
Copy link
Member

Composer failure will be fixed in #7747

@MorrisJobke MorrisJobke merged commit 2df3864 into stable12 Jan 9, 2018
@MorrisJobke MorrisJobke deleted the stable12-7716-hide-favourite-icon-in-details-view-if-favourite-action-is-not-available branch January 9, 2018 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug feature: files papercut Annoying recurring issue with possibly simple fix.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants