Start Anonymize Usernames count from 1.
This commit is contained in:
parent
5d00a130c5
commit
e0f8123334
|
@ -35,7 +35,7 @@ function generateReplacements(elements: HTMLElement[]): Record<string, string> {
|
||||||
|
|
||||||
const replacements: Record<string, string> = {};
|
const replacements: Record<string, string> = {};
|
||||||
for (const [index, username] of Array.from(usernames).entries()) {
|
for (const [index, username] of Array.from(usernames).entries()) {
|
||||||
replacements[username] = `Anonymous ${index}`;
|
replacements[username] = `Anonymous ${index + 1}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
return replacements;
|
return replacements;
|
||||||
|
|
Loading…
Reference in New Issue