1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-04 08:28:11 +00:00

Shared with all (#2672)

This commit is contained in:
杨顺强
2018-12-21 15:40:59 +08:00
committed by Daniel Pan
parent aeeee79306
commit ac67f59081
16 changed files with 433 additions and 21 deletions

View File

@@ -4,9 +4,10 @@ import { gettext } from '../../utils/constants';
import SharedRepoListItem from './shared-repo-list-item';
const propTypes = {
libraryType: PropTypes.string,
currentGroup: PropTypes.object,
repoList: PropTypes.array.isRequired,
isShowTableThread: PropTypes.bool,
repoList: PropTypes.array.isRequired,
onItemUnshare: PropTypes.func.isRequired,
onItemDelete: PropTypes.func.isRequired,
};
@@ -34,6 +35,7 @@ class SharedRepoListView extends React.Component {
<SharedRepoListItem
key={repo.repo_id}
repo={repo}
libraryType={this.props.libraryType}
currentGroup={this.props.currentGroup}
isItemFreezed={this.state.isItemFreezed}
onFreezedItem={this.onFreezedItem}