mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-01 13:14:16 +08:00
Fix eslint / prettier lint errors
This commit is contained in:
parent
3e2b17eb86
commit
9448c884ee
4 changed files with 11 additions and 4 deletions
|
@ -8,8 +8,16 @@ Features:
|
|||
|
||||
- Mailspring now warns you if you the salutation in your email ("Hey Ben!") doesn't match the name of a recipient or appears misspelled.
|
||||
|
||||
- A new keyboard shortcut allows you to attach a file in the composer. (Ctrl-Shift-A by default!)
|
||||
|
||||
Fixes:
|
||||
|
||||
- The contact sidebar now loads correctly if you switch to a contact with no name.
|
||||
|
||||
- On Windows, Mailspring no longer needs to be restarted once before you can link a Gmail account.
|
||||
|
||||
- When replying to a message you sent in a thread, Mailspring no longer incorrectly addresses the new message to yourself.
|
||||
|
||||
- Mail rules now run correctly as new mail is received.
|
||||
|
||||
- The label picker is now correctly hidden if your selection includes threads from non-Gmail accounts.
|
||||
|
|
|
@ -43,7 +43,9 @@ export default class SidebarParticipantPicker extends React.Component {
|
|||
_onSelectContact = event => {
|
||||
const { sortedContacts } = this.state;
|
||||
const [email, name] = event.target.value.split(SPLIT_KEY);
|
||||
const contact = sortedContacts.find(c => (c.name === name || typeof c.name == "undefined" ) && c.email === email);
|
||||
const contact = sortedContacts.find(
|
||||
c => (c.name === name || typeof c.name === 'undefined') && c.email === email
|
||||
);
|
||||
return Actions.focusContact(contact);
|
||||
};
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@ import Message from '../models/message';
|
|||
import * as ExtensionRegistry from '../../registries/extension-registry';
|
||||
import DOMUtils from '../../dom-utils';
|
||||
|
||||
import QuotedHTMLTransformer from '../../services/quoted-html-transformer';
|
||||
import InlineStyleTransformer from '../../services/inline-style-transformer';
|
||||
import SanitizeTransformer from '../../services/sanitize-transformer';
|
||||
import MessageUtils from '../models/message-utils';
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
import MailspringObservables from 'mailspring-observables';
|
||||
import Label from './flux/models/label';
|
||||
import CategoryStore from './flux/stores/category-store';
|
||||
import { Template } from './components/scenario-editor-models';
|
||||
|
||||
export const ConditionTemplates = [
|
||||
|
|
Loading…
Reference in a new issue