From 66d7c2565e221929cfbbd5420aeffde4baedfbfa Mon Sep 17 00:00:00 2001 From: Benedikt Kulmann Date: Wed, 6 Mar 2024 09:47:04 +0100 Subject: [PATCH] fix: remote share item icon in sharee search --- .../unreleased/bugfix-share-sidebar-icons | 5 ++ .../components/OcAvatarItem/OcAvatarItem.vue | 19 +++-- .../MembersRoleSection.spec.ts.snap | 2 +- .../InviteCollaborator/AutocompleteItem.vue | 69 +++++++------------ .../InviteCollaboratorForm.vue | 34 +-------- .../AutocompleteItem.spec.ts | 41 ++++------- 6 files changed, 54 insertions(+), 116 deletions(-) create mode 100644 changelog/unreleased/bugfix-share-sidebar-icons diff --git a/changelog/unreleased/bugfix-share-sidebar-icons b/changelog/unreleased/bugfix-share-sidebar-icons new file mode 100644 index 00000000000..14f87bd4c85 --- /dev/null +++ b/changelog/unreleased/bugfix-share-sidebar-icons @@ -0,0 +1,5 @@ +Bugfix: Share sidebar icons + +We've fixed a bug where the share invite search dropdown didn't have icons in some cases. + +https://github.com/owncloud/web/pull/10551 diff --git a/packages/design-system/src/components/OcAvatarItem/OcAvatarItem.vue b/packages/design-system/src/components/OcAvatarItem/OcAvatarItem.vue index 6a05cd72583..fa9282c9de0 100644 --- a/packages/design-system/src/components/OcAvatarItem/OcAvatarItem.vue +++ b/packages/design-system/src/components/OcAvatarItem/OcAvatarItem.vue @@ -9,7 +9,7 @@ should render all members accordingly 1`] = ` einstein
  • - physic-lovers + physic-lovers
  • " `; diff --git a/packages/web-app-files/src/components/SideBar/Shares/Collaborators/InviteCollaborator/AutocompleteItem.vue b/packages/web-app-files/src/components/SideBar/Shares/Collaborators/InviteCollaborator/AutocompleteItem.vue index db342e328f8..3cf28e3109c 100644 --- a/packages/web-app-files/src/components/SideBar/Shares/Collaborators/InviteCollaborator/AutocompleteItem.vue +++ b/packages/web-app-files/src/components/SideBar/Shares/Collaborators/InviteCollaborator/AutocompleteItem.vue @@ -5,40 +5,25 @@ :class="collaboratorClass" > - - - -
    -