From bfeaad67f3c1d5f0dcfb827f7339d7e42df7f8fd Mon Sep 17 00:00:00 2001
From: Kai Reinhard <K.Reinhard@micromata.de>
Date: Thu, 20 Dec 2018 07:10:05 +0000
Subject: [PATCH] Removed unused stuff. There are no expert settings anymore. This tool is for experts ;-)
---
borgbutler-webapp/src/components/views/config/ConfigurationPage.jsx | 10 ----------
1 files changed, 0 insertions(+), 10 deletions(-)
diff --git a/borgbutler-webapp/src/components/views/config/ConfigurationPage.jsx b/borgbutler-webapp/src/components/views/config/ConfigurationPage.jsx
index 096eeb9..8f49632 100644
--- a/borgbutler-webapp/src/components/views/config/ConfigurationPage.jsx
+++ b/borgbutler-webapp/src/components/views/config/ConfigurationPage.jsx
@@ -2,7 +2,6 @@
import {FormGroup, Nav, NavLink, TabContent, TabPane} from 'reactstrap';
import {PageHeader} from '../../general/BootstrapComponents';
import {FormButton, FormField} from '../../general/forms/FormComponents';
-import {isDevelopmentMode} from "../../../utilities/global";
import {clearDictionary} from '../../../utilities/i18n';
import I18n from "../../general/translation/I18n";
import classNames from "classnames";
@@ -64,14 +63,6 @@
if (this.state.reload) {
window.location.reload();
}
- let todo = '';
- if (isDevelopmentMode()) {
- todo = <code><h3>ToDo</h3>
- <ul>
- <li>Do the form validation (server and/or client side) with error fields.</li>
- </ul>
- </code>
- }
return (
<React.Fragment>
<PageHeader><I18n name={'configuration'}/></PageHeader>
@@ -109,7 +100,6 @@
</FormButton>
</FormField>
</FormGroup>
- {todo}
<LoadingOverlay active={this.state.loading} />
</React.Fragment>
);
--
Gitblit v1.10.0