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

Kai Reinhard
24.46.2019 522aac1a7bf2e27b9d2213b079da414715b8ead4
TODOs for Fin.
1 files modified
2 ■■■■■ changed files
borgbutler-webapp/src/components/views/config/ConfigurationPage.jsx 2 ●●●●● patch | view | raw | blame | history
borgbutler-webapp/src/components/views/config/ConfigurationPage.jsx
@@ -36,6 +36,7 @@
        })
    };
    // TODO: Don't reload, display toast instead.
    setReload = () => {
        this.setState({
            reload: true
@@ -72,6 +73,7 @@
        if (this.state.reload) {
            window.location.reload();
        }
        console.log('TODO: render called (should only called after state was changed, shouldn\'t?'); // TODO
        return (
            <React.Fragment>
                <ConfirmModal