mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-05 00:43:53 +00:00
optimization code to dirent-list-item
This commit is contained in:
@@ -413,7 +413,7 @@ class DirentListItem extends React.Component {
|
||||
return '';
|
||||
}
|
||||
|
||||
let isShowShareBtn = (dirent.type === 'dir' && this.props.isShowShareBtn) || canGenerateShareLink;
|
||||
let isShowShareBtn = (dirent.type === 'dir' && this.props.showShareBtn) || canGenerateShareLink;
|
||||
|
||||
return (
|
||||
<Fragment>
|
||||
|
Reference in New Issue
Block a user