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

Kai Reinhard
15.39.2018 60b424b101e42fa1aadb9300f32a842c9681a092
borgbutler-webapp/src/components/views/repos/ArchiveView.jsx
@@ -38,7 +38,7 @@
            .then(json => {
                this.setState({
                    isFetching: false,
                    repo: json
                    archive: json
                })
            })
            .catch(() => this.setState({isFetching: false, failed: true}));
@@ -46,7 +46,7 @@
    render = () => {
        let content = undefined;
        const repo = this.state.repo;
        const archive = this.state.archive;
        let pageHeader = '';
        if (this.state.isFetching) {
@@ -62,7 +62,7 @@
            />;
        } else if (this.state.repo) {
            pageHeader = <React.Fragment>
                {repo.displayName}
                {archive.id}
                <div
                    className={'btn btn-outline-primary refresh-button-right'}
                    onClick={this.fetchArchive.bind(this, true)}