mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-24 23:07:25 +08:00
disabled result saving when practicing missed or slow words
This commit is contained in:
parent
0f7ed78d5b
commit
d23d3ccf89
1 changed files with 4 additions and 0 deletions
|
|
@ -1227,6 +1227,10 @@ async function saveResult(
|
|||
completedEvent: CompletedEvent,
|
||||
isRetrying: boolean
|
||||
): Promise<void> {
|
||||
if (PractiseWords.before.mode !== null) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!TestState.savingEnabled) {
|
||||
Notifications.add("Result not saved: disabled by user", -1, {
|
||||
duration: 3,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue