diff --git a/docs/changelog.md b/docs/changelog.md index 14d86f3..9059180 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -2,6 +2,13 @@ Here are the most notable changes in each release. For a more detailed list of changes, see the [Github Releases page](https://github.com/heyman/heynote/releases). +## 2.2.1 (not released yet) + +### Bug Fixes + +- Fix issue where the second command in the command palette, instead of the first command, was selected when the palette is opened. + + ## 2.2.0 ### New Features diff --git a/src/components/BufferSelector.vue b/src/components/BufferSelector.vue index 80f52f8..216c3b8 100644 --- a/src/components/BufferSelector.vue +++ b/src/components/BufferSelector.vue @@ -40,7 +40,7 @@ this.$refs.container.focus() this.$refs.input.focus() this.buildItems() - if (this.items.length > 1) { + if (this.items.length > 1 && !this.initialFilter?.startsWith(">")) { this.selected = 1 } },