mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2025-04-30 21:21:42 +03:00
Fix strings
This commit is contained in:
parent
90bef94500
commit
a6172d1966
5 changed files with 9 additions and 9 deletions
client/src/components/Logs
|
@ -51,10 +51,10 @@ class Logs extends Component {
|
|||
|
||||
if (userRules.match(preparedBlockingRule)) {
|
||||
this.props.setRules(userRules.replace(`${blockingRule}`, ''));
|
||||
this.props.addSuccessToast(`Removing rule from custom list: ${blockingRule}`);
|
||||
this.props.addSuccessToast(`Rule removed from the custom filtering rules: ${blockingRule}`);
|
||||
} else if (!userRules.match(preparedUnblockingRule)) {
|
||||
this.props.setRules(`${userRules}${lineEnding}${unblockingRule}\n`);
|
||||
this.props.addSuccessToast(`Adding rule to custom list: ${unblockingRule}`);
|
||||
this.props.addSuccessToast(`Rule added to the custom filtering rules: ${unblockingRule}`);
|
||||
}
|
||||
|
||||
this.props.getFilteringStatus();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue