From 4a81abb92296a6fc9d119a80a071003771a380c7 Mon Sep 17 00:00:00 2001 From: Artem Baskal Date: Fri, 5 Jun 2020 13:03:48 +0300 Subject: [PATCH] + client: Move "Blocked services" to a separate page under "Filters" menu: Merge pull request #649 in DNS/adguard-home from feature/1744 to master Close #1744 Squashed commit of the following: commit 912a80b8ff42c927a97d33ccb3eebf8c3ca188d9 Merge: bb5a77ff 5ce98bd2 Author: ArtemBaskal Date: Fri Jun 5 12:47:21 2020 +0300 Merge branch 'master' into feature/1744 commit bb5a77ff6b66743bf23c9582c523280bdf9ef63a Author: ArtemBaskal Date: Thu Jun 4 18:07:26 2020 +0300 + client: Move "Blocked services" to a separate page under "Filters" menu --- client/src/components/App/index.js | 35 ++++++---- client/src/components/Filters/DnsAllowlist.js | 6 +- .../{Settings => Filters}/Services/Form.js | 0 .../src/components/Filters/Services/index.js | 64 +++++++++++++++++ client/src/components/Header/Menu.js | 1 + .../src/components/Settings/Services/index.js | 69 ------------------- client/src/components/Settings/index.js | 16 ----- client/src/helpers/constants.js | 1 + 8 files changed, 89 insertions(+), 103 deletions(-) rename client/src/components/{Settings => Filters}/Services/Form.js (100%) create mode 100644 client/src/components/Filters/Services/index.js delete mode 100644 client/src/components/Settings/Services/index.js diff --git a/client/src/components/App/index.js b/client/src/components/App/index.js index 2458f667..a25941a0 100644 --- a/client/src/components/App/index.js +++ b/client/src/components/App/index.js @@ -34,6 +34,8 @@ import EncryptionTopline from '../ui/EncryptionTopline'; import Icons from '../ui/Icons'; import i18n from '../../i18n'; import Loading from '../ui/Loading'; +import { FILTERS_URLS, MENU_URLS, SETTINGS_URLS } from '../../helpers/constants'; +import Services from '../Filters/Services'; class App extends Component { componentDidMount() { @@ -99,26 +101,29 @@ class App extends Component {
+ />
)} {!dashboard.processing && dashboard.isCoreRunning && ( - - - - - - - - - - - - - - + <> + + + + + + + + + + + + + + )}