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

Use correct icon for dir-external-root #30164

Merged
merged 1 commit into from
Dec 10, 2021

Conversation

PVince81
Copy link
Member

@PVince81 PVince81 commented Dec 9, 2021

When an external storage mount is shared with circles, it triggers the
share icon state to be rerendered. The picking of the mime type icon
would use the regular file icon because there is no actual icon for
"dir-external-root" that is shared.

This fixes the logic to use the "folder-external" icon in such
scenarios.

Note: the actual bug only seems to appear on stable21 because of another bug that prevents the share status to be displayed on the row (to be raised separately)

When an external storage mount is shared with circles, it triggers the
share icon state to be rerendered. The picking of the mime type icon
would use the regular file icon because there is no actual icon for
"dir-external-root" that is shared.

This fixes the logic to use the "folder-external" icon in such
scenarios.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
@PVince81 PVince81 added bug 3. to review Waiting for reviews labels Dec 9, 2021
@PVince81 PVince81 self-assigned this Dec 9, 2021
@PVince81
Copy link
Member Author

PVince81 commented Dec 9, 2021

/backport to stable23

@PVince81
Copy link
Member Author

PVince81 commented Dec 9, 2021

/backport to stable22

@PVince81
Copy link
Member Author

PVince81 commented Dec 9, 2021

/backport to stable21

@PVince81 PVince81 requested review from a team, artonge, skjnldsv and szaimen and removed request for a team December 10, 2021 09:19
Copy link
Contributor

@szaimen szaimen left a comment

Choose a reason for hiding this comment

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

lgtm

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants