Skip to content

Commit

Permalink
Clear query when opening settings via menu
Browse files Browse the repository at this point in the history
  • Loading branch information
ospfranco committed Jan 6, 2025
1 parent 026f4c6 commit 5fa1376
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/stores/items.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ export function createBaseItems(store: IRootStore) {
type: ItemType.CONFIGURATION,
callback: () => {
store.ui.focusWidget(Widget.SETTINGS)
store.ui.setQuery('')
},
preventClose: true,
},
Expand Down

0 comments on commit 5fa1376

Please sign in to comment.