mirror of
https://github.com/outline/outline.git
synced 2026-12-03 10:00:13 +03:00
fix: 'Restore' option appears on documents when policy is not loaded
This commit is contained in:
1 parent
2a502e43ef
commit
ad07f4b5f7
1 file changed
+1
-1
@@ -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