Skip to content

Use correct icon for dir-external-root - #30164

Merged
PVince81 merged 1 commit into
masterfrom
bugfix/noid/fix-dir-external-root-shared-icon
Dec 10, 2021
Merged

Use correct icon for dir-external-root#30164
PVince81 merged 1 commit into
masterfrom
bugfix/noid/fix-dir-external-root-shared-icon

Conversation

@PVince81

Copy link
Copy Markdown
Member

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>
@PVince81PVince81 added bug 3. to review Waiting for reviews labels Dec 9, 2021
@PVince81PVince81 self-assigned this Dec 9, 2021
@PVince81

Copy link
Copy Markdown
MemberAuthor

/backport to stable23

@PVince81

Copy link
Copy Markdown
MemberAuthor

/backport to stable22

@PVince81

Copy link
Copy Markdown
MemberAuthor

/backport to stable21

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

@szaimenszaimen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsbug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@PVince81@CarlSchwan@szaimen