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

...
Kai Reinhard
14.14.2018 cc8dce317bd7644958cda1e2feb6fc0b70c7878b
...
2 files modified
10 ■■■■ changed files
borgbutler-webapp/src/components/views/repos/RepoCard.jsx 3 ●●●● patch | view | raw | blame | history
borgbutler-webapp/src/components/views/repos/RepoListView.jsx 7 ●●●● patch | view | raw | blame | history
borgbutler-webapp/src/components/views/repos/RepoCard.jsx
@@ -1,7 +1,6 @@
import React from 'react';
import {Link} from 'react-router-dom';
import {Card, CardBody, CardFooter, CardHeader} from 'reactstrap';
import {formatDateTime} from "../../../utilities/global";
class RepoCard extends React.Component {
@@ -21,7 +20,7 @@
        return <React.Fragment>
            <Card tag={Link} to={`/repoArchives/${repo.id}`} outline color="success" className={'repo'}
                  style={{backgroundColor: '#fff'}}>
                <CardHeader>{repo.name}</CardHeader>
                <CardHeader>{repo.displayName}</CardHeader>
                <CardBody>
                    <ul className="list-group list-group-flush">
                        {repoText}
borgbutler-webapp/src/components/views/repos/RepoListView.jsx
@@ -34,12 +34,7 @@
            .then(response => response.json())
            .then(json => {
                const repos = json.map(repo => {
                    return {
                        id: repo.id,
                        name: repo.name,
                        location: repo.location,
                        lastModified: repo.lastModified
                    };
                    return repo;
                });
                this.setState({