mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2026-01-12 18:34:05 +08:00
Add pb requirement
This commit is contained in:
parent
f9d9c86ce5
commit
7dfb978b1a
1 changed files with 1 additions and 1 deletions
|
|
@ -899,7 +899,7 @@ export async function updateLocalTagPB<M extends Mode>(
|
|||
};
|
||||
|
||||
getSnapshot()?.results?.forEach((result) => {
|
||||
if (result.tags.includes(tagId)) {
|
||||
if (result.tags.includes(tagId) && result.wpm > pb.wpm) {
|
||||
if (
|
||||
result.mode === mode &&
|
||||
result.mode2 === mode2 &&
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue