mirror of
https://github.com/minio/minio.git
synced 2025-11-21 18:26:04 -05:00
browser: Component attr names should not clash with redux state keys. (#3656)
fixes #270
This commit is contained in:
committed by
Harshavardhana
parent
b288eaddb3
commit
46743c7918
@@ -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>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user