- 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) => { handleCheck = (values) => {
this.props.checkHost(values); this.props.checkHost(values);
} };
render() { render() {
const { const {

View File

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

View File

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