0

I am using mgt-people control in a react application. The page shows user account details in a table, the mgt-people control is used up to 30 times on that page. I am using the fallback-details property to indicate not found users along with their email address. When the page loads, the controls show already the fallback-details before the response from graph is received. As the responses come in, the controls are either updated if the user if retrieved or remain with the fallback-details. Is there a way to hide the fallback-details until the (either positive or negative) response from graph is actually retrieved? Thanks for your help

Oliver K
  • 3
  • 1
  • You can try conditional rendering by writing your own condition , please see the docs - https://learn.microsoft.com/en-us/graph/toolkit/customize-components/templates#conditional-rendering , If you are looking for something else kindly explain your issue ,if needed please add image for better understanding . thanks – vicky kumar Sep 19 '22 at 11:05

0 Answers0