From 1bd37ad40b4fbcef7e373a9b40af31b67290ee26 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sat, 8 Jun 2024 13:59:57 -0400 Subject: [PATCH] fix: Hide share button on templates --- app/scenes/Document/components/Header.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scenes/Document/components/Header.tsx b/app/scenes/Document/components/Header.tsx index 324c9beb0..01fb61833 100644 --- a/app/scenes/Document/components/Header.tsx +++ b/app/scenes/Document/components/Header.tsx @@ -259,7 +259,7 @@ function DocumentHeader({ /> )} - {!isEditing && !isRevision && can.update && ( + {!isEditing && !isRevision && !isTemplate && can.update && (