diff --git a/models/gmail/src/index.ts b/models/gmail/src/index.ts index 99f36c0e79..e148ceaa6c 100644 --- a/models/gmail/src/index.ts +++ b/models/gmail/src/index.ts @@ -83,7 +83,7 @@ export function createModel (builder: Builder): void { contact.class.ChannelProvider, core.space.Model, { - label: 'Gmail' as IntlString, + label: 'Email' as IntlString, icon: contact.icon.Email, placeholder: 'john.appleseed@apple.com' as IntlString, presenter: gmail.component.Main, diff --git a/plugins/contact-resources/src/components/Channels.svelte b/plugins/contact-resources/src/components/Channels.svelte index 9939a5691a..c21db48b40 100644 --- a/plugins/contact-resources/src/components/Channels.svelte +++ b/plugins/contact-resources/src/components/Channels.svelte @@ -36,7 +36,9 @@ selected on:click={(ev) => showPopup(contact.component.SocialEditor, { values: channels }, ev.target, (result) => { - dispatch('change', result) + if (result !== undefined) { + dispatch('change', result) + } })} /> @@ -49,7 +51,9 @@ selected on:click={(ev) => showPopup(contact.component.SocialEditor, { values: channels }, ev.target, (result) => { - dispatch('change', result) + if (result !== undefined) { + dispatch('change', result) + } })} />