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

Kai Reinhard
06.54.2019 3c111895a8b56a54ae0e5d3296bfbb8fe0bb3715
borgbutler-webapp/src/components/views/jobs/JobQueue.jsx
@@ -1,6 +1,7 @@
import React from 'react';
import {Button, Card, CardBody, Collapse} from 'reactstrap';
import Job from "./Job";
import PropTypes from "prop-types";
class JobQueue extends React.Component {
    constructor(props) {
@@ -22,6 +23,7 @@
                        <CardBody>
                            {this.props.queue.jobs
                                .map((job, index) => <Job
                                    embedded={this.props.embedded}
                                    job={job}
                                    key={job.commandLineAsString}
                                />)}
@@ -33,4 +35,8 @@
    }
}
JobQueue.propTypes = {
    embedded: PropTypes.bool
};
export default JobQueue;