From aa48e78d29d01753f3e79b85f0d1563910bf95d4 Mon Sep 17 00:00:00 2001 From: Andrey Platov Date: Wed, 1 Sep 2021 11:55:56 +0200 Subject: [PATCH] update social editor and attachment presenter Signed-off-by: Andrey Platov --- .../src/components/AttachmentPresenter.svelte | 7 +++--- .../src/components/icons/File.svelte | 24 +++++++++++++++++++ .../src/components/SocialEditor.svelte | 19 +++++++++++---- 3 files changed, 43 insertions(+), 7 deletions(-) create mode 100644 plugins/chunter-resources/src/components/icons/File.svelte diff --git a/plugins/chunter-resources/src/components/AttachmentPresenter.svelte b/plugins/chunter-resources/src/components/AttachmentPresenter.svelte index 6d60a49779..86a0560c0a 100644 --- a/plugins/chunter-resources/src/components/AttachmentPresenter.svelte +++ b/plugins/chunter-resources/src/components/AttachmentPresenter.svelte @@ -17,11 +17,12 @@ -attachment: {#if value}{value.name}{:else}nothing{/if} - - \ No newline at end of file +{#if value} + +{/if} diff --git a/plugins/chunter-resources/src/components/icons/File.svelte b/plugins/chunter-resources/src/components/icons/File.svelte new file mode 100644 index 0000000000..d5e45d7cf2 --- /dev/null +++ b/plugins/chunter-resources/src/components/icons/File.svelte @@ -0,0 +1,24 @@ + + + + + + + diff --git a/plugins/recruit-resources/src/components/SocialEditor.svelte b/plugins/recruit-resources/src/components/SocialEditor.svelte index 52b574b9c6..479a5acfcb 100644 --- a/plugins/recruit-resources/src/components/SocialEditor.svelte +++ b/plugins/recruit-resources/src/components/SocialEditor.svelte @@ -16,19 +16,30 @@