diff --git a/packages/esm-patient-attachments-app/src/assets/placeholder.svg b/packages/esm-patient-attachments-app/src/assets/placeholder.svg index e6cc8968b8..9edb195884 100644 --- a/packages/esm-patient-attachments-app/src/assets/placeholder.svg +++ b/packages/esm-patient-attachments-app/src/assets/placeholder.svg @@ -1,6 +1,13 @@ - - - - - + + + + + camera + + + \ No newline at end of file diff --git a/packages/esm-patient-attachments-app/src/camera-media-uploader/capture-photo.component.tsx b/packages/esm-patient-attachments-app/src/camera-media-uploader/capture-photo.component.tsx index f08eae3804..3de5a20328 100644 --- a/packages/esm-patient-attachments-app/src/camera-media-uploader/capture-photo.component.tsx +++ b/packages/esm-patient-attachments-app/src/camera-media-uploader/capture-photo.component.tsx @@ -29,10 +29,18 @@ const CapturePhoto: React.FC = ({ initialState, onCapturePhot }); }, [onCapturePhoto]); + const showPlaceholderIcon = !dataUri && !initialState; + return (