mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-20 22:23:53 +08:00
Sometimes, when selecting a contact (with name, email) inside a thread, the dropdown (`<select>`) did not correctly reflect the selected contact. This was because when focusing a contact, the FocusedContactStore queried that contact from the database just by email, and the contact retured from the database became the focused one. However, sometimes the returned contact might have the same email but different email, and given that the `<select>` component is keyed by both name,email, it couldn't find the appropriate <option> to render, so it could not update to reflect the newly selected contact Now, the FocusedContactStore queries by email and name to prevent this |
||
---|---|---|
.. | ||
autolinker.es6 | ||
autoscale-images.es6 | ||
email-frame-styles-store.coffee | ||
email-frame.jsx | ||
find-in-thread.jsx | ||
main.cjsx | ||
message-controls.cjsx | ||
message-item-body.cjsx | ||
message-item-container.cjsx | ||
message-item.cjsx | ||
message-list-hidden-messages-toggle.jsx | ||
message-list.cjsx | ||
message-participants.cjsx | ||
message-timestamp.es6 | ||
sidebar-participant-picker.jsx | ||
sidebar-plugin-container.cjsx | ||
thread-archive-button.cjsx | ||
thread-star-button.cjsx | ||
thread-toggle-unread-button.cjsx | ||
thread-trash-button.cjsx |