You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since DetailsList is moved to a web component which in turn uses the Icon web component, the indexOf doesn't find a reference to the usage of the icon.
I'd fix it myself but I am a bit out of tune with the current state, so in this particular case I have no idea how to consistently check whether or not an icon has been used in the template.
The text was updated successfully, but these errors were encountered:
Version used
3.11.0
Describe the bug
The FileIcon is not always loaded on the Search Results web part. Chrome Dev Console shows
To Reproduce
Steps to reproduce the behavior:
contentclass:STS_Site
(make sure you have a classic site, or modern non-Group connected site in the results on the first page)Expected behavior
The icon shows up in the list.
Screenshots
Desktop (please complete the following information):
Additional context
Problem comes from these lines of code:
pnp-modern-search/search-parts/src/services/TemplateService/BaseTemplateService.tsx
Lines 547 to 550 in 039f796
Since DetailsList is moved to a web component which in turn uses the Icon web component, the
indexOf
doesn't find a reference to the usage of the icon.I'd fix it myself but I am a bit out of tune with the current state, so in this particular case I have no idea how to consistently check whether or not an icon has been used in the template.
The text was updated successfully, but these errors were encountered: