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

Fin Reinhard
06.12.2019 7a2291958aa0d62e866adcfe65931d362b5f222d
fixed JobMonitorPanel Loading Issue
1 files modified
12 ■■■■ changed files
borgbutler-webapp/src/components/views/jobs/JobMonitorPanel.jsx 12 ●●●● patch | view | raw | blame | history
borgbutler-webapp/src/components/views/jobs/JobMonitorPanel.jsx
@@ -1,9 +1,9 @@
import React from 'react';
import {Button} from 'reactstrap';
import {getRestServiceUrl, isDevelopmentMode} from "../../../utilities/global";
import JobQueue from "./JobQueue";
import ErrorAlert from "../archives/ArchiveView";
import PropTypes from "prop-types";
import {getRestServiceUrl, isDevelopmentMode} from '../../../utilities/global';
import JobQueue from './JobQueue';
import ErrorAlert from '../archives/ArchiveView';
import PropTypes from 'prop-types';
class JobMonitorPanel extends React.Component {
    state = {
@@ -57,7 +57,7 @@
        let content = '';
        let todo = '';
        if (this.state.isFetching) {
        if (this.state.isFetching && !this.state.queues) {
            content = <i>Loading...</i>;
        } else if (this.state.failed) {
            content = <ErrorAlert
@@ -130,4 +130,4 @@
};
export default JobMonitorPanel;
export default JobMonitorPanel;