diff --git a/src/components/DrawPDFFields/index.tsx b/src/components/DrawPDFFields/index.tsx index f2e962e..bad5d3a 100644 --- a/src/components/DrawPDFFields/index.tsx +++ b/src/components/DrawPDFFields/index.tsx @@ -21,6 +21,7 @@ import { FONT_SIZE, FONT_TYPE, inPx } from '../../utils/pdf' import { useScale } from '../../hooks/useScale' import { AvatarIconButton } from '../UserAvatarIconButton' import { LoadingSpinner } from '../LoadingSpinner' +import { UserAvatar } from '../UserAvatar' const DEFAULT_START_SIZE = { width: 140, @@ -493,6 +494,18 @@ export const DrawPDFFields = (props: Props) => { > + {!isActiveDrawnField( + fileIndex, + pageIndex, + drawnFieldIndex + ) && + !!drawnField.counterpart && ( +
+ +
+ )} {isActiveDrawnField( fileIndex, pageIndex, diff --git a/src/components/DrawPDFFields/style.module.scss b/src/components/DrawPDFFields/style.module.scss index 13afb9f..8c0b3b8 100644 --- a/src/components/DrawPDFFields/style.module.scss +++ b/src/components/DrawPDFFields/style.module.scss @@ -84,3 +84,14 @@ padding: 5px 0; } } + +.counterpartSelectValue { + display: flex; +} + +.counterpartAvatar { + img { + width: 21px; + height: 21px; + } +}