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

Kai Reinhard
08.16.2019 7a5e2cb4b2802b34836db24fa11c9e62bcaeed0c
borgbutler-webapp/src/components/views/repos/RepoArchiveListView.jsx
@@ -51,14 +51,6 @@
        })
    };
    redirectToArchive = (archive) => {
        //console.log("Archive: " + archive.id + ", repo: " + this.state.repo.id);
        console.log("context: " + this.context.history);
        this.context.history.pushState(null, '/archives');
        //this.router.transitionTo('/archives/dfsafds'); // , {repoId: this.state.repo.id}, {archiveId: archive.id}
    }
    render = () => {
        let content = undefined;
        const repo = this.state.repo;
@@ -207,7 +199,6 @@
        this.fetchRepo = this.fetchRepo.bind(this);
        this.toggleTab = this.toggleTab.bind(this);
        this.redirectToArchive = this.redirectToArchive.bind(this);
    }
}