Skip to content

Commit

Permalink
fix(commandline): opening the commandline from the footer not showing…
Browse files Browse the repository at this point in the history
… custom themes
  • Loading branch information
Miodec committed Mar 24, 2024
1 parent 6357489 commit 47f3163
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions frontend/src/ts/commandline/commandline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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
);
Expand Down

0 comments on commit 47f3163

Please sign in to comment.