fix: Hide share button on templates
This commit is contained in:
@@ -259,7 +259,7 @@ function DocumentHeader({
|
||||
/>
|
||||
</Action>
|
||||
)}
|
||||
{!isEditing && !isRevision && can.update && (
|
||||
{!isEditing && !isRevision && !isTemplate && can.update && (
|
||||
<Action>
|
||||
<ShareButton document={document} />
|
||||
</Action>
|
||||
|
||||
Reference in New Issue
Block a user