mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-24 01:07:50 +00:00
955 Fix (#958)
Signed-off-by: Denis Bykhov <80476319+BykhovDenis@users.noreply.github.com>
This commit is contained in:
parent
205ebefd2f
commit
ef55125963
@ -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,
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user