getGroupThumbnailUrl

Function

Construct a the full url to a group thumbnail

  • If the group has a thumbnail, construct the full url
  • If the group is not public, append on the token (if passed in)
  • getGroupThumbnailUrl(portalUrl: string, group: IGroup, token: string) : string

Parameters

Parameter Type Default Notes
portalUrl Required string
group Required IGroup
token Optional string

Returns

string

Function defined in common/src/search/utils.ts:229