- client: Enabling or disabling a filter list triggers a "loading" screen

This commit is contained in:
ArtemBaskal 2020-04-06 18:37:06 +03:00
parent 1fa6d74862
commit 8c74f983d1
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;