mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-04 18:53:26 +08:00
fix(commandline): opening the commandline from the footer not showing custom themes
This commit is contained in:
parent
6357489b1d
commit
47f3163267
1 changed files with 4 additions and 5 deletions
|
@ -162,8 +162,10 @@ async function goBackOrHide(): Promise<void> {
|
|||
}
|
||||
|
||||
async function filterSubgroup(): Promise<void> {
|
||||
// const configKey = getSubgroup().configKey;
|
||||
const list = await getList();
|
||||
const subgroup = await getSubgroup();
|
||||
subgroup.beforeList?.();
|
||||
const list = subgroup.list;
|
||||
|
||||
const inputNoQuickSingle = inputValue
|
||||
.replace(/^>/gi, "")
|
||||
.toLowerCase()
|
||||
|
@ -446,9 +448,6 @@ async function runActiveCommand(): Promise<void> {
|
|||
updateInput(inputModeParams.value as string);
|
||||
hideCommands();
|
||||
} else if (command.subgroup) {
|
||||
if (command.subgroup.beforeList) {
|
||||
command.subgroup.beforeList();
|
||||
}
|
||||
CommandlineLists.pushToStack(
|
||||
command.subgroup as MonkeyTypes.CommandsSubgroup
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue