1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-23 12:27:48 +00:00

fix custom org logo bug when enable AVATAR_FILE_STORAGE (#5703)

This commit is contained in:
lian
2023-10-24 14:09:57 +08:00
committed by GitHub
parent 2a82e10c6f
commit a206b5114c
5 changed files with 15 additions and 6 deletions

View File

@@ -17,7 +17,7 @@ class Logo extends React.Component {
return (
<div className="top-logo">
<a href={siteRoot} id="logo">
<img src={mediaUrl + logoPath} height={logoHeight} width={logoWidth} title={siteTitle} alt="logo" />
<img src={logoPath.indexOf('image-view') != -1 ? logoPath : mediaUrl + logoPath} height={logoHeight} width={logoWidth} title={siteTitle} alt="logo" />
</a>
{this.props.showCloseSidePanelIcon &&
<a