Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion frontend/src/ts/components/modals/MobileTestConfigModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@ export function MobileTestConfigModal(): JSXElement {
if (value === "all") {
return areUnsortedArraysEqual(getConfig.quoteLength, [0, 1, 2, 3]);
}
if (value === "-2") return false;
if (value === "-2")
return areUnsortedArraysEqual(getConfig.quoteLength, [-2]);
Comment thread
byseif21 marked this conversation as resolved.
Outdated
if (value === "-3") {
return areUnsortedArraysEqual(getConfig.quoteLength, [-3]);
}
Expand Down
1 change: 1 addition & 0 deletions frontend/src/ts/components/pages/test/TestConfig.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@ function Mode2Quote(props: ComponentProps<"div">): JSXElement {
fa={{
icon: "fa-search",
}}
active={areUnsortedArraysEqual(getConfig.quoteLength, [-2])}
onClick={() => {
showModal("QuoteSearch");
}}
Expand Down
Loading