mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-10 22:12:48 +00:00
set default value for dontRenderStorage prop
This commit is contained in:
@@ -19,7 +19,8 @@ const BrewItem = createClass({
|
||||
stubbed : true
|
||||
},
|
||||
updateListFilter : ()=>{},
|
||||
reportError : ()=>{}
|
||||
reportError : ()=>{},
|
||||
renderStorage : true
|
||||
};
|
||||
},
|
||||
|
||||
@@ -95,7 +96,7 @@ const BrewItem = createClass({
|
||||
},
|
||||
|
||||
renderStorageIcon : function(){
|
||||
if(this.props.dontRenderStorage) return;
|
||||
if(!this.props.renderStorage) return;
|
||||
if(this.props.brew.googleId) {
|
||||
return <span title={this.props.brew.webViewLink ? 'Your Google Drive Storage': 'Another User\'s Google Drive Storage'}>
|
||||
<a href={this.props.brew.webViewLink} target='_blank'>
|
||||
|
||||
Reference in New Issue
Block a user