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

Kai Reinhard
16.20.2018 47b27687ea1e77e7d6ae26eb0e47ab85e90c5d50
borgbutler-webapp/src/components/views/repos/RepoListView.jsx
@@ -19,13 +19,13 @@
        this.fetchRepos();
    };
    fetchRepos = (force) => {
    fetchRepos = () => {
        this.setState({
            isFetching: true,
            failed: false,
            repos: undefined
        });
        fetch(`${this.path}/list?force=${force}`, {
        fetch(`${this.path}/list`, {
            method: 'GET',
            headers: {
                'Accept': 'application/json'
@@ -83,7 +83,7 @@
                Repositories
                <div
                    className={'btn btn-outline-primary refresh-button-right'}
                    onClick={this.fetchRepos.bind(this, true)}
                    onClick={this.fetchRepos.bind(this)}
                >
                    <IconRefresh/>
                </div>