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

Kai Reinhard
15.15.2018 ab8f76e33972d88bb1c774fc9a944f6d74d596f1
borgbutler-webapp/src/components/views/repos/RepoArchiveListView.jsx
@@ -15,11 +15,11 @@
    };
    componentDidMount = () => {
        this.fetchRepos();
        this.fetchRepo();
    };
    fetchRepos = (force) => {
    fetchRepo = (force) => {
        this.setState({
            isFetching: true,
            failed: false
@@ -62,7 +62,7 @@
                title={'Cannot load Repositories'}
                description={'Something went wrong during contacting the rest api.'}
                action={{
                    handleClick: this.fetchRepos,
                    handleClick: this.fetchRepo,
                    title: 'Try again'
                }}
            />;
@@ -71,7 +71,7 @@
                {repo.displayName}
                <div
                    className={'btn btn-outline-primary refresh-button-right'}
                    onClick={this.fetchRepos.bind(this, true)}
                    onClick={this.fetchRepo.bind(this, true)}
                >
                    <IconRefresh/>
                </div>
@@ -93,7 +93,7 @@
                </Nav>
                <TabContent activeTab={this.state.activeTab}>
                    <TabPane tabId={'1'}>
                        <Table>
                        <Table hover>
                            <tbody>
                            <tr>
                                <th>Archive</th>
@@ -190,7 +190,7 @@
    constructor(props) {
        super(props);
        this.fetchRepos = this.fetchRepos.bind(this);
        this.fetchRepo = this.fetchRepo.bind(this);
        this.toggleTab = this.toggleTab.bind(this);
    }
}