mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
Change error message on documents for non-owner users (#790)
The error can often be fixed by just reloading the document with no need to worry the document owners For example, when the error message is: "interrupted by reconnect" Co-authored-by: Florent FAYOLLE <florent.fayolle@beta.gouv.fr>
This commit is contained in:
parent
ba14a1bea7
commit
97df12c34d
@ -294,7 +294,8 @@ Recovery mode opens the document to be fully accessible to owners, and inaccessi
|
|||||||
It also disables formulas. [{{error}}]", {error: err.message})
|
It also disables formulas. [{{error}}]", {error: err.message})
|
||||||
: isDenied
|
: isDenied
|
||||||
? t('Sorry, access to this document has been denied. [{{error}}]', {error: err.message})
|
? t('Sorry, access to this document has been denied. [{{error}}]', {error: err.message})
|
||||||
: t("Document owners can attempt to recover the document. [{{error}}]", {error: err.message})
|
: t("Please reload the document and if the error persist, "+
|
||||||
|
"contact the document owners to attempt a document recovery. [{{error}}]", {error: err.message})
|
||||||
),
|
),
|
||||||
hideCancel: true,
|
hideCancel: true,
|
||||||
extraButtons: !(isDocOwner && !isDenied) ? null : bigBasicButton(
|
extraButtons: !(isDocOwner && !isDenied) ? null : bigBasicButton(
|
||||||
|
Loading…
Reference in New Issue
Block a user