From 6d3080e686f7ebc280a92d7595ed3b3cfdd048e0 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sun, 21 Apr 2024 12:39:20 -0400 Subject: [PATCH] fix: Missing 'New doc' button on collection header for users without collection admin policy --- app/scenes/Collection/Actions.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scenes/Collection/Actions.tsx b/app/scenes/Collection/Actions.tsx index f5b7d5593..d00a51f13 100644 --- a/app/scenes/Collection/Actions.tsx +++ b/app/scenes/Collection/Actions.tsx @@ -21,7 +21,7 @@ function Actions({ collection }: Props) { return ( <> - {can.update && ( + {can.createDocument && ( <>