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

Kai Reinhard
16.06.2019 0c1eeb6acd1a26fa7a56bcf292ea5a240271a0a1
borgbutler-webapp/src/components/views/jobs/Job.jsx
@@ -40,6 +40,14 @@
        let content = undefined;
        let job = this.props.job;
        let cancelDisabled = undefined;
        let times = ' (created: ' + job.createTime;
        if (job.startTime) {
            times += ', started: ' + job.startTime;
        }
        if (job.stopTime) {
            times += ', stopped: ' + job.stopTime;
        }
        times += ')';
        if ((job.status !== 'RUNNING' && job.status !== 'QUEUED') || job.cancellationRequested) {
            cancelDisabled = true;
        }
@@ -89,7 +97,7 @@
                                <tbody>
                                <tr>
                                    <th>Status</th>
                                    <td>{job.status}</td>
                                    <td>{job.status} {times}</td>
                                </tr>
                                <tr>
                                    <th>Command line</th>