mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-20 23:36:37 +08:00
setting config to array instead
This commit is contained in:
parent
1ebd90c7d0
commit
9ca996aa24
|
@ -1086,7 +1086,10 @@ export function setQuoteLength(
|
|||
len = 1;
|
||||
}
|
||||
len = parseInt(len.toString()) as MonkeyTypes.QuoteLength;
|
||||
if (multipleMode) {
|
||||
|
||||
if (len === -1) {
|
||||
config.quoteLength = [0, 1, 2, 3];
|
||||
} else if (multipleMode && len >= 0) {
|
||||
if (!config.quoteLength.includes(len)) {
|
||||
config.quoteLength.push(len);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue