aboutsummaryrefslogtreecommitdiff
path: root/src/lib/CommandPalette/CommandPalette.svelte
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/CommandPalette/CommandPalette.svelte')
-rw-r--r--src/lib/CommandPalette/CommandPalette.svelte3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/CommandPalette/CommandPalette.svelte b/src/lib/CommandPalette/CommandPalette.svelte
index f493bcac..6dda7f8f 100644
--- a/src/lib/CommandPalette/CommandPalette.svelte
+++ b/src/lib/CommandPalette/CommandPalette.svelte
@@ -38,13 +38,12 @@
if (action.actions)
action.actions.forEach((nestedAction, nestedIdx) => {
- if (doesActionMatch(nestedAction)) {
+ if (doesActionMatch(nestedAction))
filtered.push({
...nestedAction,
id: `action-${idx}-nested-${nestedIdx}`,
name: `${matchedParent ? '↳' : `${action.name} >`} ${nestedAction.name}`
});
- }
});
});
}