From cf9c07ca2d5db51ecc1ff8b6eb18402689580d91 Mon Sep 17 00:00:00 2001
From: Kai Reinhard <K.Reinhard@micromata.de>
Date: Sat, 05 Jan 2019 13:37:00 +0000
Subject: [PATCH] Not needed.

---
 /dev/null |   40 ----------------------------------------
 1 files changed, 0 insertions(+), 40 deletions(-)

diff --git a/borgbutler-webapp/src/components/views/ConfirmReloadDialog.jsx b/borgbutler-webapp/src/components/views/ConfirmReloadDialog.jsx
deleted file mode 100644
index d4bfb4d..0000000
--- a/borgbutler-webapp/src/components/views/ConfirmReloadDialog.jsx
+++ /dev/null
@@ -1,40 +0,0 @@
-import React from 'react';
-import { Button, Modal, ModalHeader, ModalBody, ModalFooter } from 'reactstrap';
-
-class ConfirmReloadDialog extends React.Component {
-    constructor(props) {
-        super(props);
-        this.state = {
-            modal: false
-        };
-
-        this.toggle = this.toggle.bind(this);
-    }
-
-    toggle() {
-        this.setState({
-            modal: !this.state.modal
-        });
-    }
-
-    render() {
-        return (
-            <div>
-                <Button color="danger" onClick={this.toggle}>{this.props.buttonLabel}</Button>
-                <Modal isOpen={this.state.modal} toggle={this.toggle} className={this.props.className}>
-                    <ModalHeader toggle={this.toggle}>Do you really want to reload?</ModalHeader>
-                    <ModalBody>
-                        Reloading of the data is time consuming for remote borg repos. Reloading is only required
-                        if you assume that the cache data of BorgButler is outdated.
-                    </ModalBody>
-                    <ModalFooter>
-                        <Button color="secondary" onClick={this.toggle}>Cancel</Button>
-                        <Button color="primary" onClick={this.toggle}>Reload</Button>{' '}
-                    </ModalFooter>
-                </Modal>
-            </div>
-        );
-    }
-}
-
-export default ConfirmReloadDialog;
\ No newline at end of file

--
Gitblit v1.10.0