(null);
@@ -133,7 +135,7 @@ export function GrantInviteCard() {
setIdentifier("");
setExpiresOn("");
setAccess("READ");
- setNarrowed(false);
+ setNarrowed(null);
setSections([]);
setInvited(grant.account.username);
},
@@ -224,7 +226,7 @@ export function GrantInviteCard() {
{
setNarrowed(false);
setError(null);
@@ -234,7 +236,7 @@ export function GrantInviteCard() {
/>
{
setNarrowed(true);
setError(null);
@@ -243,6 +245,16 @@ export function GrantInviteCard() {
capability={t("recordSharing.invite.scopeSomeCapability")}
/>
+ {choice.mode === "unset" && (
+ // Nothing chosen: say what the two options decide, rather than
+ // sending a request or silently defaulting to the whole record.
+
+ {t("recordSharing.invite.scopeChooseHint")}
+
+ )}
{choice.mode === "pick" && (
sections.includes(domain));
// A narrowed invitation with nothing ticked is not a narrow grant, it is a