Bug fix: avatar of account owner not displayed (#690)
* Begin - fix account owner not displayed * Finish - profile pic of account owner not displayed
This commit is contained in:
@ -7,5 +7,9 @@ export function getImageAbsoluteURIOrBase64(imageUrl?: string | null) {
|
||||
return imageUrl;
|
||||
}
|
||||
|
||||
if (imageUrl?.startsWith('https:')) {
|
||||
return imageUrl;
|
||||
}
|
||||
|
||||
return `${process.env.REACT_APP_FILES_URL}/${imageUrl}`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user