Skip to content

Commit 83b22da

Browse files
Person pill avatar fallback (#472)
* avatar fallback * changelog --------- Co-authored-by: Alok Kumar <ialokkumarsingh0@gmail.com>
1 parent 32c167c commit 83b22da

3 files changed

Lines changed: 8 additions & 2 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Avatar Fallback for personPill @Tishasoumya-02

frontend/packages/kitconcept-intranet/src/components/PersonPill/PersonPill.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
expandToBackendURL,
99
flattenToAppURL,
1010
} from '@plone/volto/helpers/Url/Url';
11-
import personSVG from '@plone/volto/icons/user.svg';
11+
import AvatarFallback from '../../icons/avatar-fallback-silhouette.svg';
1212

1313
type PersonPillProps = {
1414
id: string | undefined;
@@ -60,7 +60,7 @@ const PersonPill = ({
6060
) : (
6161
<Icon
6262
className="person-pill-avatar"
63-
name={personSVG}
63+
name={AvatarFallback}
6464
size={compact ? '24px' : '40px'}
6565
style={{
6666
width: compact ? '24px' : '40px',
Lines changed: 5 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)