1
0
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:
zxj96
2019-04-25 18:40:27 +08:00
parent b79894cb72
commit bea5cadddf

View File

@@ -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>