0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-31 04:22:44 +00:00

Add file link to Google icon on User Page

This commit is contained in:
G.Ambatte
2023-08-07 22:03:17 +12:00
parent b2e7b28b65
commit cca882869d
3 changed files with 7 additions and 3 deletions

View File

@@ -94,7 +94,9 @@ const BrewItem = createClass({
if(!this.props.brew.googleId) return;
return <span>
<img className='googleDriveIcon' src={googleDriveIcon} alt='googleDriveIcon' />
<a href={this.props.brew.webViewLink} target='_blank'>
<img className='googleDriveIcon' src={googleDriveIcon} alt='googleDriveIcon' />
</a>
</span>;
},