diff --git a/app/scenes/Collection/Actions.tsx b/app/scenes/Collection/Actions.tsx
index b2b7bae3e..a893aba88 100644
--- a/app/scenes/Collection/Actions.tsx
+++ b/app/scenes/Collection/Actions.tsx
@@ -23,34 +23,38 @@ function Actions({ collection }: Props) {
return (
<>
-
-
-
- {can.update && (
+ {!collection.isEmpty && (
<>
-
- }
- >
- {t("New doc")}
-
-
+
-
+ {can.update && (
+ <>
+
+
+ }
+ >
+ {t("New doc")}
+
+
+
+
+ >
+ )}
>
)}
diff --git a/app/scenes/Collection/Empty.tsx b/app/scenes/Collection/Empty.tsx
index 6365207a7..6cff94b45 100644
--- a/app/scenes/Collection/Empty.tsx
+++ b/app/scenes/Collection/Empty.tsx
@@ -11,7 +11,6 @@ import Flex from "~/components/Flex";
import Modal from "~/components/Modal";
import Text from "~/components/Text";
import useBoolean from "~/hooks/useBoolean";
-import useCurrentTeam from "~/hooks/useCurrentTeam";
import useStores from "~/hooks/useStores";
import { newDocumentPath } from "~/utils/routeHelpers";
@@ -22,8 +21,7 @@ type Props = {
function EmptyCollection({ collection }: Props) {
const { policies } = useStores();
const { t } = useTranslation();
- const team = useCurrentTeam();
- const can = policies.abilities(team.id);
+ const can = policies.abilities(collection.id);
const collectionName = collection ? collection.name : "";
const [
@@ -46,23 +44,21 @@ function EmptyCollection({ collection }: Props) {
}}
/>
- {can.createDocument && (
- Get started by creating a new one!
- )}
+ {can.update && Get started by creating a new one!}
-
- {can.createDocument && (
+ {can.update && (
+
}>
{t("Create a document")}
- )}
-
-
-
+
+
+
+ )}