Username recovery improvements
This commit is contained in:
parent
a70ae1060d
commit
533a1b32d4
27 changed files with 423 additions and 99 deletions
|
@ -476,6 +476,16 @@ export function renderToast({
|
|||
);
|
||||
}
|
||||
|
||||
if (toastType === ToastType.UsernameRecovered) {
|
||||
return (
|
||||
<Toast onClose={hideToast}>
|
||||
{i18n('icu:EditUsernameModalBody__username-recovered__text', {
|
||||
username: toast.parameters.username,
|
||||
})}
|
||||
</Toast>
|
||||
);
|
||||
}
|
||||
|
||||
if (toastType === ToastType.UserAddedToGroup) {
|
||||
return (
|
||||
<Toast onClose={hideToast}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue