diff --git a/src/runtime/components/navigation/CommandPalette.vue b/src/runtime/components/navigation/CommandPalette.vue index 6f57ca53..4b935106 100644 --- a/src/runtime/components/navigation/CommandPalette.vue +++ b/src/runtime/components/navigation/CommandPalette.vue @@ -94,7 +94,7 @@ const groupedResults = computed(() => { return props.groups.map(group => ({ key: group.key, label: group.label, - commands: results.value.map(result => result.item).filter(item => item.group === group.key).slice(0, props.options.resultLimit) + commands: results.value.map(result => result.item).filter(item => item.group === group.key).slice(0, options.value.resultLimit) })).filter(group => group.commands.length) })