Closed FranckyC closed 4 years ago
Hello FranckyC, thank you for opening an issue with us!
I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌
I use MGT
mgt-person
component in a SharePoint SPFx WebPart (1.10.0), inside an Handlebars template (notice the escape\
for{{personImage}}
). Here is my basic template:I use the SharePointProvider in the
onInit()
method and I've added all the correct permissions for the Microsoft Graph like mentionend in the documentation.Everything was working fine using version 1.1.1. Using version > 1.1.1, the component does not display image anymore, only initials. I see the REST call is fetching the image correctly, but the component simply does not render it. Same using a simple
<mgt-person person-query="{{userEmail}}"/>
. Using this code either in React or in an HTML template does the same output.To Reproduce Steps to reproduce the behavior:
mgt-person
component with a static user<mgt-person person-query="john.doe@contoso.com"/>
Expected behavior The user image should render in a React SPFx Web Part.
Screenshots
Environment (please complete the following information):