diff --git a/frontend/src/ts/commandline/lists.ts b/frontend/src/ts/commandline/lists.ts index fed08e8f3..1461c59f1 100644 --- a/frontend/src/ts/commandline/lists.ts +++ b/frontend/src/ts/commandline/lists.ts @@ -378,9 +378,9 @@ const lists = { const subGroupByConfigKey = Object.fromEntries( commands.list - .filter((it) => it.id.startsWith("change")) - .map((it) => [it.id.slice("change".length).toLowerCase(), it.subgroup]), -); + .filter((it) => it.subgroup?.configKey !== undefined) + .map((it) => [it.subgroup?.configKey, it.subgroup]), +) as Record; export function doesListExist(listName: string): boolean { if (subGroupByConfigKey[listName] !== undefined) {