diff --git a/plugins/contact-resources/src/components/ChannelsPresenter.svelte b/plugins/contact-resources/src/components/ChannelsPresenter.svelte index b6aa036931..77b8d1c6dc 100644 --- a/plugins/contact-resources/src/components/ChannelsPresenter.svelte +++ b/plugins/contact-resources/src/components/ChannelsPresenter.svelte @@ -21,6 +21,7 @@ import type { Channel, ChannelProvider } from '@anticrm/contact' import { getClient } from '@anticrm/presentation' import { Icon } from '@anticrm/ui' +import IconCopy from './icons/Copy.svelte' import contact from '@anticrm/contact' @@ -65,40 +66,113 @@ let displayItems: Item[] = [] -
+
{}}> {#each displayItems as item} -
+
+
+
+
+
+
+
{item.label}
+
{item.value}
+
+
{ alert('Copied: ' + item.value) }}> + +
+
{/each}
diff --git a/plugins/contact-resources/src/components/icons/Copy.svelte b/plugins/contact-resources/src/components/icons/Copy.svelte new file mode 100644 index 0000000000..10398075dd --- /dev/null +++ b/plugins/contact-resources/src/components/icons/Copy.svelte @@ -0,0 +1,8 @@ + + + + +