| | |
| | | import FileListTable from "./FileListTable"; |
| | | import FileListFilter from "./FileListFilter"; |
| | | |
| | | class ArchiveView extends React.Component { |
| | | class FileListPanel extends React.Component { |
| | | |
| | | state = { |
| | | isFetching: false, activeTab: '1', |
| | |
| | | search: '', |
| | | mode: 'tree', |
| | | currentDirectory: '', |
| | | maxSize: '50' |
| | | maxSize: '50', |
| | | diffArchive: '' |
| | | } |
| | | }; |
| | | |
| | |
| | | searchString: this.state.filter.search, |
| | | mode: this.state.filter.mode, |
| | | currentDirectory: this.state.filter.currentDirectory, |
| | | maxResultSize: this.state.filter.maxSize |
| | | maxResultSize: this.state.filter.maxSize, |
| | | diffArchive: this.state.filter.diffArchive |
| | | }), { |
| | | method: 'GET', |
| | | headers: { |
| | |
| | | event.preventDefault(); |
| | | this.fetchArchiveFileList(); |
| | | }} |
| | | currentArchiveId={this.props.archiveId} |
| | | archiveShortInfoList={this.props.archiveShortInfoList} |
| | | /> |
| | | {breadcrumb} |
| | | <FileListTable |
| | |
| | | } |
| | | } |
| | | |
| | | export default ArchiveView; |
| | | export default FileListPanel; |