mirror of
https://github.com/outline/outline.git
synced 2026-06-13 11:25:03 +03:00
fix: 'Restore' option appears on documents when policy is not loaded
This commit is contained in:
@@ -237,7 +237,7 @@ function DocumentMenu({
|
||||
visible:
|
||||
((document.isWorkspaceTemplate || !!collection) &&
|
||||
can.restore) ||
|
||||
can.unarchive,
|
||||
!!can.unarchive,
|
||||
onClick: (ev) => handleRestore(ev),
|
||||
icon: <RestoreIcon />,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user