diff --git a/packages/presentation/src/components/DocPopup.svelte b/packages/presentation/src/components/DocPopup.svelte
new file mode 100644
index 0000000000..16f4fde3a5
--- /dev/null
+++ b/packages/presentation/src/components/DocPopup.svelte
@@ -0,0 +1,285 @@
+
+
+
+
+
+
+
+
diff --git a/packages/presentation/src/components/ObjectPopup.svelte b/packages/presentation/src/components/ObjectPopup.svelte
index 5ac9c899be..f2d98c0ad7 100644
--- a/packages/presentation/src/components/ObjectPopup.svelte
+++ b/packages/presentation/src/components/ObjectPopup.svelte
@@ -15,25 +15,10 @@
-
-
-
-
-
+
+
+ {#if $$slots.category}
+
+ {/if}
+
+
diff --git a/packages/presentation/src/components/SpacesMultiPopup.svelte b/packages/presentation/src/components/SpacesMultiPopup.svelte
index 2cd8d8564c..2c5a94dcdb 100644
--- a/packages/presentation/src/components/SpacesMultiPopup.svelte
+++ b/packages/presentation/src/components/SpacesMultiPopup.svelte
@@ -13,13 +13,13 @@
// limitations under the License.
-->
- (search = e.detail)}
>
{#if component}
@@ -57,4 +81,4 @@
{/if}
-
+
diff --git a/packages/presentation/src/index.ts b/packages/presentation/src/index.ts
index f7718aa2a7..e6af498b44 100644
--- a/packages/presentation/src/index.ts
+++ b/packages/presentation/src/index.ts
@@ -26,6 +26,7 @@ export { default as Card } from './components/Card.svelte'
export { default as MessageBox } from './components/MessageBox.svelte'
export { default as MessageViewer } from './components/MessageViewer.svelte'
export { default as ObjectPopup } from './components/ObjectPopup.svelte'
+export { default as DocPopup } from './components/DocPopup.svelte'
export { default as PDFViewer } from './components/PDFViewer.svelte'
export { default as SpaceCreateCard } from './components/SpaceCreateCard.svelte'
export { default as SpaceMultiBoxList } from './components/SpaceMultiBoxList.svelte'
diff --git a/plugins/attachment-resources/src/components/FileBrowser.svelte b/plugins/attachment-resources/src/components/FileBrowser.svelte
index 2f21c24593..9a76865f3b 100644
--- a/plugins/attachment-resources/src/components/FileBrowser.svelte
+++ b/plugins/attachment-resources/src/components/FileBrowser.svelte
@@ -78,9 +78,7 @@
archived: false,
_class: { $in: requestedSpaceClasses }
})
- const availableSpaces = allSpaces
- .filter((sp) => !sp.private || sp.members.includes(currentUser._id))
- .map((sp) => sp._id)
+ const availableSpaces = allSpaces.map((sp) => sp._id)
spaceQuery = { space: { $in: availableSpaces } }
}
diff --git a/plugins/workbench-resources/src/components/Navigator.svelte b/plugins/workbench-resources/src/components/Navigator.svelte
index 444bffacb3..7f6cb553a4 100644
--- a/plugins/workbench-resources/src/components/Navigator.svelte
+++ b/plugins/workbench-resources/src/components/Navigator.svelte
@@ -13,7 +13,7 @@
// limitations under the License.
-->