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