mirror of
https://github.com/heyman/heynote.git
synced 2025-06-27 04:51:50 +02:00
Fix issue where the first command in the command palette isn't selected when the dialog is opened
This commit is contained in:
parent
8674c775fa
commit
db8fb5fd18
@ -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).
|
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
|
## 2.2.0
|
||||||
|
|
||||||
### New Features
|
### New Features
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
this.$refs.container.focus()
|
this.$refs.container.focus()
|
||||||
this.$refs.input.focus()
|
this.$refs.input.focus()
|
||||||
this.buildItems()
|
this.buildItems()
|
||||||
if (this.items.length > 1) {
|
if (this.items.length > 1 && !this.initialFilter?.startsWith(">")) {
|
||||||
this.selected = 1
|
this.selected = 1
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user