Merge pull request #569 in DNS/adguard-home from fix/1462 to master

* commit '8c74f983d1c08c03a9f131abdea8e712a5cf7505':
  - client: Enabling or disabling a filter list triggers a "loading" screen
This commit is contained in:
Artem Baskal 2020-04-07 11:34:03 +03:00
commit 6ea93d0b8e
3 changed files with 5 additions and 3 deletions

View file

@ -32,7 +32,7 @@ class CustomRules extends Component {
handleCheck = (values) => {
this.props.checkHost(values);
}
};
render() {
const {

View file

@ -64,7 +64,8 @@ class DnsAllowlist extends Component {
},
} = this.props;
const currentFilterData = getCurrentFilter(modalFilterUrl, whitelistFilters);
const loading = processingFilters
const loading = processingConfigFilter
|| processingFilters
|| processingAddFilter
|| processingRemoveFilter
|| processingRefreshFilters;

View file

@ -60,7 +60,8 @@ class DnsBlocklist extends Component {
},
} = this.props;
const currentFilterData = getCurrentFilter(modalFilterUrl, filters);
const loading = processingFilters
const loading = processingConfigFilter
|| processingFilters
|| processingAddFilter
|| processingRemoveFilter
|| processingRefreshFilters;