Signed-off-by: Denis Bykhov <80476319+BykhovDenis@users.noreply.github.com>
This commit is contained in:
Denis Bykhov 2022-02-08 15:03:45 +06:00 committed by GitHub
parent 205ebefd2f
commit ef55125963
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 3 deletions

View File

@ -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,

View File

@ -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)
}
})}
/>
<span><Label label={presentation.string.AddSocialLinks} /></span>
@ -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)
}
})}
/>
</div>