mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-04 07:10:06 +08:00
fix(prefs): Fix this
binding in mail rules prefs page
This commit is contained in:
parent
2d8f3ec2b0
commit
954ef4ce89
1 changed files with 5 additions and 3 deletions
|
@ -14,8 +14,10 @@ import {Flexbox,
|
|||
ScrollRegion,
|
||||
ScenarioEditor} from 'nylas-component-kit';
|
||||
|
||||
const {ActionTemplatesForAccount,
|
||||
ConditionTemplatesForAccount} = MailRulesTemplates;
|
||||
const {
|
||||
ActionTemplatesForAccount,
|
||||
ConditionTemplatesForAccount,
|
||||
} = MailRulesTemplates;
|
||||
|
||||
|
||||
class PreferencesMailRules extends React.Component {
|
||||
|
@ -65,7 +67,7 @@ class PreferencesMailRules extends React.Component {
|
|||
});
|
||||
}
|
||||
|
||||
_onReprocessRules() {
|
||||
_onReprocessRules = () => {
|
||||
const needsMessageBodies = () => {
|
||||
for (const rule of this.state.rules) {
|
||||
for (const condition of rule.conditions) {
|
||||
|
|
Loading…
Reference in a new issue