fix(notifications): a notice's button is said when shown, like its text
An action label was translated when the notice was raised, so after a language switch a live toast or center row read in one language with its button in the other. The access-requests nudge no longer re-issues on a switch for it. New tests: the button and a server refusal follow a switch.
This commit is contained in:
@@ -107,7 +107,7 @@ export default function UploadDialog({
|
||||
level: "success",
|
||||
message: msg(uploadedKey(job.status)),
|
||||
action: {
|
||||
label: t("downloads.dialog.view"),
|
||||
label: msg("downloads.dialog.view"),
|
||||
onClick: () => openUploaded(job),
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user