browser: Make logo and "Minio Browser" text non-clickable. (#3668)

fixes #3601
This commit is contained in:
Krishna Srinivas
2017-01-31 13:44:07 -08:00
committed by Harshavardhana
parent 77a192a7b5
commit f7f103725b
2 changed files with 4 additions and 10 deletions

View File

@@ -296,11 +296,6 @@ export default class Browse extends React.Component {
browserHistory.push(`${minioBrowserPrefix}/login`)
}
landingPage(e) {
e.preventDefault()
this.props.dispatch(actions.selectBucket(this.props.buckets[0]))
}
fullScreen(e) {
e.preventDefault()
let el = document.documentElement
@@ -489,8 +484,7 @@ export default class Browse extends React.Component {
'file-explorer': true,
'toggled': sidebarStatus
}) }>
<SideBar landingPage={ this.landingPage.bind(this) }
searchBuckets={ this.searchBuckets.bind(this) }
<SideBar searchBuckets={ this.searchBuckets.bind(this) }
selectBucket={ this.selectBucket.bind(this) }
clickOutside={ this.hideSidebar.bind(this) }
showPolicy={ this.showBucketPolicy.bind(this) } />