diff --git a/plugins/contact-resources/package.json b/plugins/contact-resources/package.json index cc4da9e8de..9e67a5a2aa 100644 --- a/plugins/contact-resources/package.json +++ b/plugins/contact-resources/package.json @@ -23,6 +23,7 @@ "svelte": "^3.37.0", "@anticrm/contact": "~0.6.0", "@anticrm/ui": "~0.6.0", - "@anticrm/presentation": "~0.6.1" + "@anticrm/presentation": "~0.6.1", + "@anticrm/core": "~0.6.11" } } diff --git a/plugins/contact-resources/src/components/ChannelsPresenter.svelte b/plugins/contact-resources/src/components/ChannelsPresenter.svelte index 7cacc8c8fb..bd34865df0 100644 --- a/plugins/contact-resources/src/components/ChannelsPresenter.svelte +++ b/plugins/contact-resources/src/components/ChannelsPresenter.svelte @@ -15,12 +15,57 @@ --> -Channels: {value.length} +{#each displayItems as item} + {item.value} +{/each} diff --git a/plugins/recruit-resources/src/components/CreateCandidate.svelte b/plugins/recruit-resources/src/components/CreateCandidate.svelte index 8c2310ba45..434e0fec39 100644 --- a/plugins/recruit-resources/src/components/CreateCandidate.svelte +++ b/plugins/recruit-resources/src/components/CreateCandidate.svelte @@ -52,7 +52,7 @@ firstName: newValue.firstName, lastName: newValue.lastName, city: newValue.city, - channels: [], + channels: newValue.channels, }) console.log('resume name', resume.name) diff --git a/plugins/recruit-resources/src/components/DialogHeader.svelte b/plugins/recruit-resources/src/components/DialogHeader.svelte index e431cea0bb..710a06d1bc 100644 --- a/plugins/recruit-resources/src/components/DialogHeader.svelte +++ b/plugins/recruit-resources/src/components/DialogHeader.svelte @@ -142,7 +142,7 @@
- showPopup(SocialEditor, {}, ev.target)} /> + showPopup(SocialEditor, { values: newValue.channels ?? [] }, ev.target, (result) => { newValue.channels = result; isChanged() })} />
diff --git a/plugins/recruit-resources/src/components/SocialEditor.svelte b/plugins/recruit-resources/src/components/SocialEditor.svelte index 498fa45b4d..3a41f41c95 100644 --- a/plugins/recruit-resources/src/components/SocialEditor.svelte +++ b/plugins/recruit-resources/src/components/SocialEditor.svelte @@ -15,19 +15,40 @@ --> @@ -35,7 +56,7 @@ -