Keep shared Rule files reachable, and say when a privacy change does not save.
This commit is contained in:
1 parent
b6795c1f18
commit
63ba21c614
9 files changed
+148
-16
No files matched your search
@@ -107,6 +107,7 @@ export const ShareView = memo(function ShareView({
|
||||
turnOnDisabled,
|
||||
turnOnBusy,
|
||||
showError,
|
||||
showSaveError,
|
||||
copyEnabled,
|
||||
linkCopied,
|
||||
onCopyLink,
|
||||
@@ -229,6 +230,19 @@ export const ShareView = memo(function ShareView({
|
||||
{linkOn ? copy.anyoneWithLinkHint : copy.inviteOnlyHint}
|
||||
</p>
|
||||
) : null}
|
||||
{showSaveError ? (
|
||||
<Alert
|
||||
type="banner"
|
||||
status="danger"
|
||||
size="s"
|
||||
title={copy.saveErrorTitle}
|
||||
description={copy.saveErrorDescription}
|
||||
hasLeadingIcon
|
||||
hasBodyText
|
||||
hasTrailingIcon={false}
|
||||
className="w-full"
|
||||
/>
|
||||
) : null}
|
||||
</div>
|
||||
|
||||
{showLinkField ? (
|
||||
|
||||
Reference in new issue
Block a user