mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-08 01:04:39 +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,
|
ScrollRegion,
|
||||||
ScenarioEditor} from 'nylas-component-kit';
|
ScenarioEditor} from 'nylas-component-kit';
|
||||||
|
|
||||||
const {ActionTemplatesForAccount,
|
const {
|
||||||
ConditionTemplatesForAccount} = MailRulesTemplates;
|
ActionTemplatesForAccount,
|
||||||
|
ConditionTemplatesForAccount,
|
||||||
|
} = MailRulesTemplates;
|
||||||
|
|
||||||
|
|
||||||
class PreferencesMailRules extends React.Component {
|
class PreferencesMailRules extends React.Component {
|
||||||
|
@ -65,7 +67,7 @@ class PreferencesMailRules extends React.Component {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
_onReprocessRules() {
|
_onReprocessRules = () => {
|
||||||
const needsMessageBodies = () => {
|
const needsMessageBodies = () => {
|
||||||
for (const rule of this.state.rules) {
|
for (const rule of this.state.rules) {
|
||||||
for (const condition of rule.conditions) {
|
for (const condition of rule.conditions) {
|
||||||
|
|
Loading…
Reference in a new issue