mirror of https://github.com/micromata/borgbackup-butler.git

Kai Reinhard
16.36.2018 a280791b008bd888571010936cd1e1027c783075
borgbutler-webapp/src/components/views/archives/ArchiveView.jsx
@@ -5,6 +5,7 @@
import ErrorAlert from '../../general/ErrorAlert';
import {IconRefresh} from "../../general/IconComponents";
import classNames from "classnames";
import FileListTable from "./FileListTable";
class ArchiveView extends React.Component {
@@ -21,6 +22,10 @@
    fetchArchive = (force) => {
        let forceReload = false;
        if (force && window.confirm('Are you sure you want to reload the archive file list? This may take a long time...')) {
            forceReload = true;
        }
        this.setState({
            isFetching: true,
            failed: false
@@ -28,7 +33,7 @@
        fetch(getRestServiceUrl('archives', {
            repo: this.state.repoId,
            archive: this.state.archiveId,
            force: force
            force: forceReload
        }), {
            method: 'GET',
            headers: {
@@ -170,7 +175,9 @@
                        </Table>
                    </TabPane>
                    <TabPane tabId={'2'}>
                        Hurzel
                        <FileListTable
                            entries={this.props.entries}
                        />
                    </TabPane>
                </TabContent>
            </React.Fragment>;