mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-20 15:26:15 +08:00
allowing undefined funbox through (same as none)
This commit is contained in:
parent
a845daf443
commit
d44e4f7a12
|
@ -397,8 +397,12 @@ export async function checkIfTagPb(
|
|||
}
|
||||
|
||||
const { mode, tags: resultTags, funbox } = result;
|
||||
|
||||
if (funbox !== "none" && funbox !== "plus_one" && funbox !== "plus_two") {
|
||||
if (
|
||||
funbox !== undefined &&
|
||||
funbox !== "none" &&
|
||||
funbox !== "plus_one" &&
|
||||
funbox !== "plus_two"
|
||||
) {
|
||||
return [];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue