From ab8f76e33972d88bb1c774fc9a944f6d74d596f1 Mon Sep 17 00:00:00 2001
From: Kai Reinhard <K.Reinhard@micromata.de>
Date: Sat, 15 Dec 2018 08:15:32 +0000
Subject: [PATCH] fetchRepos -> fetchRepo.

---
 borgbutler-webapp/src/components/views/repos/RepoArchiveListView.jsx |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/borgbutler-webapp/src/components/views/repos/RepoArchiveListView.jsx b/borgbutler-webapp/src/components/views/repos/RepoArchiveListView.jsx
index f8fc0c5..03eed27 100644
--- a/borgbutler-webapp/src/components/views/repos/RepoArchiveListView.jsx
+++ b/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);
     }
 }

--
Gitblit v1.10.0