browser: Component attr names should not clash with redux state keys. (#3656)

fixes #270
This commit is contained in:
Krishna Srinivas
2017-01-30 14:25:55 -08:00
committed by Harshavardhana
parent b288eaddb3
commit 46743c7918
2 changed files with 9 additions and 9 deletions

View File

@@ -414,10 +414,10 @@ export default class Browse extends React.Component {
let freePercent = free * 100 / total
if (web.LoggedIn()) {
browserDropdownButton = <BrowserDropdown fullScreen={ this.fullScreen.bind(this) }
showAbout={ this.showAbout.bind(this) }
showSettings={ this.showSettings.bind(this) }
logout={ this.logout.bind(this) } />
browserDropdownButton = <BrowserDropdown fullScreenFunc={ this.fullScreen.bind(this) }
aboutFunc={ this.showAbout.bind(this) }
settingsFunc={ this.showSettings.bind(this) }
logoutFunc={ this.logout.bind(this) } />
} else {
loginButton = <a className='btn btn-danger' href='/minio/login'>Login</a>
}