diff --git a/plugins/chunter-resources/package.json b/plugins/chunter-resources/package.json index c4938a37d8..b69a835f1a 100644 --- a/plugins/chunter-resources/package.json +++ b/plugins/chunter-resources/package.json @@ -24,6 +24,7 @@ "@anticrm/chunter":"~0.6.0", "svelte":"^3.37.0", "@anticrm/text-editor":"~0.6.0", - "@anticrm/contact": "~0.6.0" + "@anticrm/contact": "~0.6.0", + "@anticrm/view-resources": "~0.6.0" } } diff --git a/plugins/chunter-resources/src/components/AttachmentPopup.svelte b/plugins/chunter-resources/src/components/AttachmentPopup.svelte index 719a6ae030..c7fe8bac48 100644 --- a/plugins/chunter-resources/src/components/AttachmentPopup.svelte +++ b/plugins/chunter-resources/src/components/AttachmentPopup.svelte @@ -17,71 +17,17 @@ - - - - -
- - + diff --git a/plugins/chunter-resources/src/components/AttachmentPresenter.svelte b/plugins/chunter-resources/src/components/AttachmentPresenter.svelte index d7230651c3..ab4fc8df91 100644 --- a/plugins/chunter-resources/src/components/AttachmentPresenter.svelte +++ b/plugins/chunter-resources/src/components/AttachmentPresenter.svelte @@ -16,6 +16,8 @@ -
+
{ closeTooltip(); showPopup(PDFViewer, { file: value.file }, 'right') }}>
PDF
{trimFilename(value.name)}