mirror of
https://github.com/outline/outline.git
synced 2026-11-28 00:09:58 +03:00
fix: Hide access action for personal collection documents in share dialog (#14106)
This commit is contained in:
1 parent
6df3fa18d3
commit
f6f7804f07
1 file changed
+5
-1
@@ -154,7 +154,11 @@ export const AccessControlList = observer(
|
||||
image={<Avatar model={user} />}
|
||||
title={user.name}
|
||||
subtitle={t("You have full access")}
|
||||
actions={<AccessTooltip>{t("Can edit")}</AccessTooltip>}
|
||||
actions={
|
||||
collection.isPersonal ? undefined : (
|
||||
<AccessTooltip>{t("Can edit")}</AccessTooltip>
|
||||
)
|
||||
}
|
||||
/>
|
||||
)}
|
||||
{showLoading ? (
|
||||
|
||||
Reference in new issue
Block a user