mirror of
https://github.com/hcengineering/platform.git
synced 2025-06-09 09:20:54 +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,
|
contact.class.ChannelProvider,
|
||||||
core.space.Model,
|
core.space.Model,
|
||||||
{
|
{
|
||||||
label: 'Gmail' as IntlString,
|
label: 'Email' as IntlString,
|
||||||
icon: contact.icon.Email,
|
icon: contact.icon.Email,
|
||||||
placeholder: 'john.appleseed@apple.com' as IntlString,
|
placeholder: 'john.appleseed@apple.com' as IntlString,
|
||||||
presenter: gmail.component.Main,
|
presenter: gmail.component.Main,
|
||||||
|
@ -36,7 +36,9 @@
|
|||||||
selected
|
selected
|
||||||
on:click={(ev) =>
|
on:click={(ev) =>
|
||||||
showPopup(contact.component.SocialEditor, { values: channels }, ev.target, (result) => {
|
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>
|
<span><Label label={presentation.string.AddSocialLinks} /></span>
|
||||||
@ -49,7 +51,9 @@
|
|||||||
selected
|
selected
|
||||||
on:click={(ev) =>
|
on:click={(ev) =>
|
||||||
showPopup(contact.component.SocialEditor, { values: channels }, ev.target, (result) => {
|
showPopup(contact.component.SocialEditor, { values: channels }, ev.target, (result) => {
|
||||||
dispatch('change', result)
|
if (result !== undefined) {
|
||||||
|
dispatch('change', result)
|
||||||
|
}
|
||||||
})}
|
})}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user