Skip to content

Commit a856b76

Browse files
committed
fix: single list commandline not working on initial show
1 parent e04d6e8 commit a856b76

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

frontend/src/ts/commandline/commandline.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,10 @@ export function show(
116116
const overrideStringOrGroup =
117117
settings?.subgroupOverride ?? subgroupSignal ?? null;
118118

119-
if (overrideStringOrGroup !== undefined) {
119+
if (
120+
overrideStringOrGroup !== undefined &&
121+
overrideStringOrGroup !== null
122+
) {
120123
if (typeof overrideStringOrGroup === "string") {
121124
const exists = CommandlineLists.doesListExist(overrideStringOrGroup);
122125
if (exists) {

0 commit comments

Comments
 (0)